🌍 Public
Viewing a saved revision (read-only)
c09f19be3d534ebbb8ef7c75d385bdf9
Fork of Svelte + D3: Reveal area chart
Rrichard.adamson@hotmail.com
This example shows a responsive area chart with a smooth, curved line representing a single series of data points. A solid pink area fills the space beneath the line, while a dark gray rectangle animates across the chart from left to right, acting as a reveal effect. The visualization uses Svelte's reactive declarations combined with D3's `scaleLinear`, `line`, and `area` generators with a Catmull-Rom curve. The chart resizes dynamically based on the container's dimensions, with all rendering performed using SVG paths.
AI-generated description