Fork of Q4
✓ Published0🌍 Public
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 descriptionMIT Licensed