Skip to main content
100%

fresh block

✓ Published0🌍 Public
DDarienLiang
Last edited Nov 23, 2016
Created on Nov 23, 2016

This example visualizes multiple time-series lines from a weather dataset, with each line representing a different category (`symbol`) and showing how a price-like value changes over time. The visualization uses D3 v3 to load CSV data, parse date strings with `d3.time.format`, and render the lines using `d3.svg.line`. A categorical color scale (`d3.scale.category10`) assigns distinct colors to each line dynamically, and the lines are drawn on an SVG canvas with a time-based x-axis and linear y-axis. The code nests the data by symbol using `d3.nest`, then appends a separate path for each group, highlighting the trend patterns across categories.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes