Skip to main content
Public

Share visualization

Loading preview…

Fork of Project 6 Question 2 Part 2

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 Project 6 Question 2 Part 2

0 stars0Public
Ppezguy97@gmail.com
Last edited Oct 7, 2026
Created on Oct 7, 2026

This animated scatterplot shows GDP per capita versus CO₂ per capita over time, with points colored by region and a play/pause button to step through yearly frames. It loads CSV data via `d3.csv`, maps numeric columns, and uses `d3.scaleLinear` for axes and `d3.scaleOrdinal` with the Tableau10 scheme for region colors. Each frame filters rows by year and transitions circle positions using `transition().duration(700)`, updating a status line with the current year.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed