Skip to main content
100%

animated line

✓ Published0🌍 Public
NNeeraj Kumar
Last edited Jan 18, 2024
Created on Jan 18, 2024
Forked from new animation

An animated line chart displays the changing popularity of a fictional topic over time, with an update button that regenerates the data to show the line redrawing itself with a smooth sinusoid easing. Built with D3.js (v7.8.5), the chart uses `scaleLinear` for axes, `line` for the path generator, and the `transition` API with `easeSin` to animate the stroke-dashoffset over 2.5 seconds. The SVG rendering includes axes and a steelblue path, with fake data defined in JavaScript rather than from an external source.

AI-generated description

My fisrt viz with javascript

MIT Licensed

Similar vizzes