Skip to main content
Public

Share visualization

Loading preview…

Line Chart with rectangles

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 rectangles

0
AAlenka Guček
Last edited Sep 17, 2021
Created on Sep 17, 2021

This line chart displays one week of temperature data for cities worldwide, sourced from Data Canvas - Sense Your City. Multicolored lines represent each district’s temperature over time, with a legend clarifying the color mapping. Semi-transparent yellow and blue rectangles overlay the chart to highlight specific time ranges, complemented by an axis and title. The visualization uses d3.csv for data loading, d3.scaleTime and d3.scaleLinear for scales, d3.line with curveBasis for path generation, and d3.nest for grouping, rendering in SVG with animation.

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