Skip to main content
Public

Share visualization

Loading preview…

Line Chart with Multiple Lines

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Line Chart with Multiple Lines

6
Aask4jm
Last edited Jul 6, 2020
Created on Jul 6, 2020

This line chart displays one week of temperature data in Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. Each line represents a city district, colored using d3.scaleOrdinal with schemeCategory10. The chart includes axes with gridlines, a title, and a color legend, while the data is parsed with dayjs. The d3.line generator with curveBasis smooths each path, and the nested data is sorted by the last temperature value of each series.

AI-generated description

This line chart shows one week of temperature (in degrees Celcius) in cities around the world. The data comes from Data Canvas - Sense Your City.

https://raw.githubusercontent.com/ask4jm/Test/master/data.csv

Comments

Sign in to join the discussion.

MIT Licensed