Micro Data-Viz
Streamgraph Drift
Five stacked blue ribbons flow as a streamgraph using bezier curves and layered sines; ribbons swell organically with a glowing right-edge data-entry seam.
canvasmedium complexitymoderate motionpointer
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Dashboard hero sections, analytics loading screens, ambient data-flow backgrounds on dark UIs.
When not to
Light backgrounds (dark navy hardcoded). Contexts where actual data values need to be read — this is decorative only.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the color palette from blue to warm amber/gold by replacing the hues array with ['#8f4a1a','#d06a20','#ff8c38','#ffb870','#ffddb0'] and set background to #1a1008. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- ribbon count (N=5)
- color palette (hues array)
- column buffer length (COLS=120)
- vertical scale (vscale=H*0.30)
- amplitude range (amp: 0.55+random*0.5)
- pointer boost strength (boost+=0.25)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- IIFE wrapper
- prefers-reduced-motion guard and static fallback
- visibilitychange pause/resume
- DPR-aware canvas sizing
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Background color hardcoded in CSS (#0e1424) — must edit to change theme
- Streamgraph shows synthetic noise data only, not real data series
- Pointer boost decays quickly; sustained motion needed for lasting effect
More Micro Data-Viz components
- Bar Grow + ReshuffleSeven rounded gradient bars ease to new random heights every 1.6s with glowing cap dots. Click triggers an immediate reshuffle.
- Live Line SweepA glowing cyan area line chart scrolls a live sine-plus-noise time-series across a faint grid, with a white head dot marking the latest value.
- Donut Ring ProgressOlive-to-terracotta gradient donut ring eases its fill to random targets with a leading dot and large centered percentage readout. Tap to jump to a new value.
- Sparkline Moving DotA green sparkline traces itself across a faint ghost path, led by a haloed white dot; on completion it regenerates a new random 28-point series.
- Radial Gauge NeedleSemicircular gauge on dark amber background with green-yellow-red arc segments; a glowing white needle sweeps smoothly via sine wave with a live 0–100…
- Heatmap Ripple12x6 grid of rounded cells colored via a magma ramp, with a sine-wave ripple emanating from a point that orbits and follows the cursor.