Charts & Flow
Gantt Sweep
A five-task Gantt chart on a grained card with a day axis and weekend shading; a spring-eased, draggable today line fills hatched bars and casts their shadows away from it. Sweeps by itself until dragged or keyed.
csslight complexitymoderate motionpointer+keyboardaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Keep the slider on the today line, the task spans, the scaleX fills and the sr-only status. Safe to change task spans, day count and tokens.
Safe to edit
- tokens
- labels
- tasks
Keep intact
- demo-v1 idle demo and takeover
- theme hook
- reduced-motion and visibilitychange guards
- nx43- prefix
More Charts & Flow components
- Sankey FlowThree-stage Sankey diagram on dark canvas: bezier ribbons grow stage-by-stage from origins to hubs to outcomes, pulsing softly in opacity to show flow volume.
- Chord DiagramEight ring nodes with curved ribbons that swell and shrink as weights rebalance every ~3s. Additive blending creates glowing color overlaps.
- Treemap7 rounded cells partition the canvas via slice-dice treemap; cells lerp to new sizes every 2.6 s as synthetic values drift, with a subtle alpha pulse.
- CandlesticksGreen and red OHLC candles stream in from the right with smooth slide animation; newest candle grows from pivot. Dashed last-price marker traces horizontally.
- StreamgraphSix translucent stacked bands breathe around a central baseline via layered sines; a sweeping readout line tracks across with colored tick dots per band.
- Bubble Pack64 mint/teal/amber/coral circles settle under gravity with collision physics; size encodes value. Large bubbles pull toward center with a breathing pulse.