Skip to main content
100%

Fork of Lab 1: Line Chart

✓ Published0🌍 Public
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.

MIT Licensed

Similar vizzes