Skip to main content
100%

loading multiple stock data from dataset (marche)

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

This example displays monthly stock price trends for multiple companies as a multi-line chart. The visualization loads CSV data containing symbols, dates, and prices, then nests the records by symbol to draw each stock’s price trajectory over time. The code uses d3.nest, d3.line, and d3.curveBasis to render smooth lines, with d3.scaleTime and d3.scaleLinear for axes, and d3.axisBottom/Left for ticks. A legend maps symbols to colors via d3.scaleOrdinal and d3.schemeCategory10, all rendered as SVG elements in D3 v4.

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 (marche)</a>

mit Licensed

Similar vizzes