Skip to main content
100%

[animated charts] stocks from dataset

✓ Published0🌍 Public
NNpfn
Last edited Nov 30, 2017
Created on Nov 30, 2017

This animated visualization cycles through five chart types—area, empty area, multiple line, stacked, and stream—to display monthly stock prices for Microsoft, Amazon, and IBM from a CSV dataset. The sequence begins with a single area chart, then empties it to an outline, followed by a multi-line chart, a stacked area chart, and finally a streamgraph. Built with D3 v4, the code uses `d3.area`, `d3.nest`, and `d3.scaleOrdinal` to structure and render the data as SVG paths, with a `transition().duration()` driving the sequential playback.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/57eb273e01761b829aaa95b28c8193c1'>loading multiple stock data from dataset</a>

forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/f60995ae128cca7b4e19b95ff28a51ea'>[animated charts] stocks from dataset</a>

mit Licensed

Similar vizzes