Skip to main content
100%

loading multiple stock data from dataset

✓ Published0🌍 Public
LLRobergeon
Last edited Nov 29, 2017
Created on Nov 29, 2017

The visualization displays monthly stock prices for Microsoft, Amazon, and IBM from January 2000 through March 2010, with each company represented by a distinct colored line. A steel-blue area chart overlays the entire dataset, showing the combined price distribution across all symbols. The code loads the comma-separated dataset using `d3.dsvFormat`, nests entries by symbol with `d3.nest`, and applies a basis curve smoothing via `d3.line().curve(d3.curveBasis)`. Time and linear scales position the data, while `d3.axisBottom` and `d3.axisLeft` render the axes. A legend identifies each stock symbol using the ordinal color scheme from `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