Skip to main content
Public

Share visualization

Loading preview…

Fork of A7_Multi-line Chart

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 A7_Multi-line Chart

0
AAamir Hameed mir
Last edited May 26, 2024
Created on May 26, 2024

This multi-line chart displays monthly average temperatures for four U.S. cities—NYC, LA, Chicago, and Houston—with each city represented by a colored line and corresponding data points, parsed from a CSV file that includes degree symbols. The visualization uses D3 v7 with SVG rendering, employing scales for positioning data across the months, drawing paths via the `d3.line` generator, and adding interactive tooltips on hover that display the specific city and temperature for each month.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed