← Back to all sparks
H

hubVis

ANALYTICS
Velocity0.0

Plotting methods for hub models output

The hubverse plotting layer spends its releases absorbing upstream churn, not adding charts.

forecast-visualizationhubverser-packageggplot2compatibility
Current state
hubVis is the visualization component of the hubverse stack, centred on plot_step_ahead_model_output() for static and interactive forecast plots. Since the stable 0.1.0 in late 2024 it has shipped three patch releases, every one of them a single referenced issue fix. The plotting surface itself has not grown.
Where it's heading
The pattern across all four releases is narrow and reactive: a legend construction fix, a palette assignment fix, and most recently a compatibility change for ggplot2 4.0.0 written to keep working with earlier versions too. Two of the three fixes concern colour and legend handling, which suggests palette assignment is the fragile part of the codebase. As a thin layer over ggplot2 inside a larger stack, the package's release triggers come from below it rather than from its own roadmap.
Prediction
Expect continued single-issue patches driven by upstream ggplot2 changes and by whatever the sibling hubverse packages emit, rather than new plot types.

Recent moves

  1. 11mo ago

    Compatibility fix for ggplot2 4.0.0

    A downstream compatibility patch for ggplot2 4.0.0, deliberately written to keep working with earlier versions as well. It protects existing plots against a major upstream release rather than changing anything a user would see.

    View source ↗
  2. 1y ago

    Palette creation fixed for colour parameters

    A single fix to palette creation for the *_color parameters. It is the second colour-handling correction in the package's short history, reinforcing that palette assignment is where the edge cases live.

    View source ↗
  3. 1y ago

    Legend built after plot so all traces appear

    Legend construction moves to after plot generation so every expected trace appears, and fill_by is coerced to a factor internally to make palette assignment deterministic. Both are corrections to the first stable release rather than new capability.

    View source ↗
  4. 1y ago

    Stable release brings group parameter to interactive plots

    The stable 0.1.0 marker, extending the group parameter of plot_step_ahead_model_output() to both static and interactive plots and adding snapshot tests of graphical output. Parity between the two plot modes is the substance; the snapshot tests are what make the later patch releases safe to ship.

    View source ↗