Skip to main content
Public

Share visualization

Loading preview…

Fork of Lab 1: 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 Lab 1: Line Chart

0
0007ebey
Last edited Jun 26, 2021
Created on Jun 26, 2021
Forked from Lab 1: Line Chart

This line chart shows how carbon dioxide emissions have changed from 1990 to 2014 for three selected countries: the United States, Canada, and Spain. Each country is represented by a colored line, with an ordinal color scale distinguishing them, and the data is sourced from the UN Data service. The visualization is built using D3.js with an SVG rendering, incorporating interactive elements like a dropdown menu for selecting countries and a hover tooltip that displays detailed values. The chart dynamically updates its axes and scales based on the selected data, and the lines are animated when the selection changes.

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