Skip to main content
Public

Share visualization

Loading preview…

Fork of Line Chart with Multiple Lines by shahin

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

Fork of Line Chart with Multiple Lines by shahin

0
SShahin Alam
Last edited Jun 13, 2022
Created on Jun 13, 2022

This line chart displays one week of temperature data in degrees Celsius for cities worldwide, sourced from Data Canvas - Sense Your City. The SVG visualization uses d3.scaleTime, d3.scaleLinear, and d3.scaleOrdinal to map timestamps, temperatures, and city colors, with d3.line and curveBasis generating smooth paths. A d3.nest groups readings by city, sorted by final temperature, while a custom colorLegend module renders the categorical palette. The chart includes gridlines, axis labels, and a title, with lines blended using multiply mode.

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.

Comments

Sign in to join the discussion.

MIT Licensed