Skip to content

Install chart iteration - #490

Open
kaste wants to merge 8 commits into
gh-pagesfrom
chart-iter
Open

Install chart iteration#490
kaste wants to merge 8 commits into
gh-pagesfrom
chart-iter

Conversation

@kaste

@kaste kaste commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator
  • Removes the weekly dots on the upgrade line. These dots were at some point hover targets, but they're not anymore so we can remove them just keeping the release dots.
  • Dampens the line on the upper and lower bounds. This came out from a thinking error as I wanted a strict limit at the x-axis (to keep the lines inside the chart). ... but I really like that math and it is simpler as the straight lower bound limiter too. Just less curvy, childish-playful.
  • We always had dailies for the running month or so but we never used it, essentially because of the scaling math. (dailies has a different scale than weeklies, so what to do) There are several solution to the problem; here we take a trailing window (day of the daily data plus 6 days towards the history). We have nice transition from weekly to daily data, overall I think this looks good and expressive.

Before

image

After

image

Keep only release markers on the install chart and remove the unused
upgrade point styling. Add coverage to prevent weekly dots from
returning while preserving release dots.
Extend the upgrade line clip to the other SVG edges so curves can
remain visible below the chart baseline. Keep clipping the continuation
past the right axis.
Constrain Bézier control points to the range between adjacent samples.
This reduces overshoot near extrema and keeps equal zero samples flat
along the chart baseline.
Render the latest four weeks of the upgrade curve from daily data using
trailing seven-day totals on the weekly scale. Position recent release
markers on their daily samples and include daily counts in tooltips.
Only plot daily upgrade points backed by a complete trailing seven-day
window. This avoids extrapolated edge values distorting the weekly
axis scale.
Exclude daily chart points dated before the package was first seen while
retaining the older values needed by trailing windows.
Replace the overloaded raw value field with explicit daily and weekly
names. Derive recent-release tooltip behavior directly from the
presence of a daily value.
Drop the weekly running-line renderer and its dash styling now that
recent upgrades always use daily resolution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant