Skip to main content
100%

stock

✓ Published0🌍 Public
SSheela2930
Last edited Apr 9, 2023
Created on Apr 8, 2023
Forked from 05_D3 Stock show

A multi-line chart animates banking stock prices over time, with each series plotted in its own horizontal band and labeled by symbol. The visualization first draws lines progressively using a `d3.timer`, then transitions into horizon charts by stacking filled areas with a `clipPath`. Data is loaded via `d3.csv` from a gist and parsed with `d3.time.format`. The SVG rendering uses `d3.svg.line`, `d3.svg.area`, and `d3.scale.linear` to map dates and prices, with color assigned by `d3.scale.category10`.

AI-generated description

The data is not real data. It's saved in my data in gist but it used for learning purpose.

This page from laurent Chauvirey was very helpful for this D3 show.

MIT Licensed

Similar vizzes