Skip to main content
100%

loading multiple stock data from dataset

✓ Published0🌍 Public
EEssohanamKouyou
Last edited Nov 23, 2017
Created on Nov 23, 2017

This example shows monthly stock prices for Microsoft, Amazon, and IBM from a CSV dataset, rendered as three colored lines on a single time-series chart. The code uses d3.nest to group records by symbol, then parses dates with d3.timeParse and computes per-symbol maximums and sums. Paths are drawn with d3.line using a basis curve, with d3.scaleTime and d3.scaleLinear handling axes. A color legend labels each stock, and SVG elements are used throughout for rendering.

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