Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart with multiple lines

Public visualization

Line chart with multiple lines

0 stars0🌍 Public
Ssafdarawan
Last edited Jun 1, 2020
Created on Jun 1, 2020

A line chart displays a week of temperature readings for multiple cities, with each city represented by a colored line and a legend identifying its color. The visualization uses D3.js scales and axes (d3.scaleTime, d3.scaleLinear, d3.axisLeft, d3.axisBottom) with a d3.line generator and curveBasis for smoothing. Data comes from a CSV file loaded via d3.csv, and city colors are assigned using d3.scaleOrdinal with schemeCategory10. The chart is rendered as SVG with grid lines and labeled axes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed