Skip to main content
100%

Multi-Series Line Chart

✓ Published0🌍 Public
ZZoeLeBlanc
Last edited Aug 23, 2018
Created on Jul 18, 2018

This multi-series line chart visualizes daily average temperatures for New York, San Francisco, and Austin over the last year. It uses a TSV file as the data source, parsed with d3.tsv, and encodes date on the x-axis with a time scale, temperature on the y-axis with a linear scale, and city using the categorical color scale d3.category10. The visualization applies conventional margins, computes axis domains with d3.extent, d3.min, and d3.max, derives column names via d3.keys, and renders the lines with d3.svg.line. Axes are displayed with d3.svg.axis, and the chart includes an animated transition to show the data being drawn.

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>

gpl-3.0 Licensed

Similar vizzes