Multi-line graph 4 with v4: Toggle
✓ Published0🌍 Public
DDarienLiang
Last edited Nov 23, 2016
Created on Nov 23, 2016
This multi-line graph displays monthly stock prices for Microsoft, Amazon, and IBM from January 2000 to March 2010, with each company's price trend drawn as a separate colored line. The chart uses D3.js v3 with SVG rendering, parsing dates from a CSV file and applying a time-scaled x-axis. The code nests the data by stock symbol using `d3.nest()`, assigns each line a color from `d3.scale.category10()`, and draws the paths with `d3.svg.line()`.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed