TP2 Data viz UCBL 2017
This example visualizes monthly stock prices for Microsoft, Amazon, and IBM from January 2000 to March 2010. The chart shows multiple colored area and line series, each symbol assigned a distinct color from the d3.scaleOrdinal category scheme, with a legend identifying each company. Data is loaded from a CSV file and nested by symbol using d3.nest, with dates parsed via d3.timeParse and scales constructed with d3.scaleTime and d3.scaleLinear. Lines and areas are rendered as SVG paths using d3.line and d3.area with a curveBasis interpolation, alongside d3.axisBottom and d3.axisLeft for the time and price axes.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/855207ac5fb5c170de59b9c69ea56012'>simple line chart from dataset</a>
forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/87ccc538ea3f763d6ad25b227fed55fc'>TP2 Data viz UCBL 2017</a>