Skip to main content
100%

Multi-Series Line Chart

✓ Published0🌍 Public
Aanaeliaovalle
Last edited Feb 11, 2017
Created on Feb 10, 2017

This multi-series line chart displays daily average temperatures for New York, San Francisco, and Austin over a year. The data is loaded from a TSV file using d3.tsv, with dates parsed via d3.time.format. The x-axis uses a time scale, the y-axis a linear scale, and colors are assigned using d3.scale.category10. Domains are computed with d3.extent, d3.min, and d3.max, while d3.keys extracts the city names from the data. The visualization renders SVG axes and line shapes, with conventional margins applied, to compare seasonal temperature trends across the three cities.

AI-generated description

This line chart is constructed from a TSV file storing the daily average temperatures of New York, San Francisco and Austin over the last year. The chart employs conventional margins and a number of D3 features:

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/3884955'>Multi-Series Line Chart</a>

forked from <a href='http://bl.ocks.org/anonymous/'>anonymous</a>'s block: <a href='http://bl.ocks.org/anonymous/ac0850bb1ae81f00fd7aa8e0a60e8758'>Multi-Series Line Chart</a>

gpl-3.0 Licensed

Similar vizzes