Skip to main content
100%

loading multiple stock data from dataset

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

This example shows monthly stock prices for Microsoft, Amazon, and IBM from a CSV dataset. It draws multi-series line charts in SVG, then transitions each series into a stacked area chart with a smooth animation. The code uses d3.nest to group data by symbol, d3.line and d3.area for geometry, and d3.transition with a delay to sequence the morphing effect. Colors are assigned via d3.scaleOrdinal with d3.schemeCategory10.

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>

mit Licensed

Similar vizzes