Area Chart Reveal
A gradient area chart wiped in from the left, ending on a pulse
Create an area chart that reveals itself with a left-to-right wipe. An SVG area chart on a dark card: a 2.5px accent line over a vertical gradient fill (accent color from 50% opacity at the top to 3% at the bottom). Both the line and the fill are clipped by an animated clipPath rectangle whose width grows from 0 to full over 1.7s with easing cubic-bezier(0.22, 1, 0.36, 1), after a 0.2s delay, so the chart wipes in from the left. When the wipe completes, the last data point lands with a punctuation mark: a 4px accent dot that overshoots (scale 0 → 1.4 → 1) over 400ms with a springy ease like cubic-bezier(0.34, 1.56, 0.64, 1). Add a small header row: metric name in monospace at 50% opacity, current value in the accent color. Accessibility: give the SVG role="img" and a descriptive aria-label. If prefers-reduced-motion is set, show the finished chart immediately. Trigger the reveal when the chart enters the viewport. Build the component, not this demo of it. - Ambient motion that IS the component may loop: a drifting background, a marquee, a spinner while something is genuinely loading. - Do not add any timer, interval, loop or script that performs a person's action by itself. No auto-hover, no auto-click, no cycling through states, no pretend submitting, no replaying the interaction on a schedule. - Every state that answers a person waits for a real event from that person. - Placeholder copy and sample content are welcome. Simulated behaviour is not.