Skip to main content
100%

Multi-Series Line Chart

✓ Published0🌍 Public
SShayRomayo
Last edited Apr 14, 2018
Created on Apr 14, 2018

This multi-series line chart displays daily average temperatures for New York, San Francisco, and Austin across one year, with each city represented by a colored line and labeled at its final data point. The visualization is rendered as an SVG using D3 v4, loading data from a TSV file via `d3.tsv` and parsing dates with `d3.timeParse`. It encodes the time axis with `d3.scaleTime`, the temperature axis with `d3.scaleLinear`, and city colors with `d3.scaleOrdinal` using `d3.schemeCategory10`. Lines are drawn with `d3.line` using basis curve interpolation, while axes are generated through `d3.axisBottom` and `d3.axisLeft`.

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