Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with Multiple Lines

Public visualization

Viewing a saved revision (read-only)

a1fd75e53b0b482fb8fa67dec7020e9f

Line Chart with Multiple Lines

0 stars1🌍 Public
ZZ-Richard
Last edited Jun 22, 2020
Created on Jun 22, 2020
Forked from Line Chart

This example displays a week of temperature readings for multiple cities, with each city represented by a colored line that conveys its temperature trend over time. A legend identifies the color associated with each city. The visualization uses d3.line with curveBasis for smooth paths, d3.scaleTime and d3.scaleLinear for axes, and d3.nest to group the CSV data by city. d3.scaleOrdinal with schemeCategory10 assigns colors, while custom legend and axis components are built using SVG.

AI-generated description