Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Multiple line Chart

Public visualization

Viewing a saved revision (read-only)

2064499f8c42430a83ba057c0b2cf227

Multiple line Chart

0 stars1🌍 Public
AAjit Singh
Last edited Jan 16, 2021
Created on Jan 16, 2021

This visualization displays temperature trends over time for multiple cities, with each city represented by a distinct colored line and labeled in a legend. The lines are smoothed using `curveBasis` and data is grouped by city via `d3.nest()`, while axes and scales are built with `d3.scaleTime`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft`. The color scale uses `d3.scaleOrdinal` with `schemeCategory10`, and the SVG rendering includes styled grid lines and a title. Data is loaded as CSV from an external URL.

AI-generated description

An example including some commonly used features of SVG.