Skip to main content
Public

Share visualization

Loading preview…

Melting Data for 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

Melting Data for Multiple Lines

0
KKarkG
Last edited Aug 10, 2020
Created on Aug 10, 2020

This visualization displays temperature data for San Francisco over time, rendered as a red area chart using SVG. The data originates from a CSV file containing temperatures from different cities, which is loaded and parsed with d3.csv. The code imports d3 v5 modules such as scaleTime, scaleLinear, axisBottom, axisLeft, and area with curveBasis to construct the chart. Axes, tick marks, and labels are customized through d3’s axis generators, while the area path is generated using the area() API.

AI-generated description

This scatter plot shows data about cars, from UCI Machine Learning Repository: Auto MPG Data Set.

Comments

Sign in to join the discussion.

MIT Licensed