Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Q4

Public visualization

Fork of Q4

0 stars0🌍 Public
MMandadi Nishita
Last edited Oct 23, 2024
Created on Oct 23, 2024
Forked from Q4

A bubble chart visualizes the correlation between GDP per capita, CO2 emissions per capita, and population size, with each country represented as a circle. The chart’s x-axis shows GDP, the y-axis shows emissions, and the circle’s radius encodes population. The color of each bubble indicates the continent. Interactive tooltips display the country’s continent on hover. Built with D3 v7, the visualization implements a custom ordinal color scale using `d3.interpolateTurbo` and `d3.scaleOrdinal`, with axes created via `d3.axisBottom` and `d3.axisLeft`. The data is loaded from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed