Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork Question4-Bubble chart

Public visualization

Viewing a saved revision (read-only)

e9927253d3114ff5b1202209632e12ef

Fork Question4-Bubble chart

0 stars1🌍 Public
Aakhillenkalapally1999@gmail.com
Last edited Apr 6, 2024
Created on Apr 6, 2024

This bubble chart visualizes the correlation between GDP per capita, life expectancy, and population-area ratio for 20 countries. Each circle represents a country, with its x-axis position reflecting GDP per capita, y-axis position reflecting life expectancy, and bubble size proportional to population density. The chart uses D3.js v7 with the `scaleLinear` API for axis and bubble scaling, and the `scaleOrdinal` API for color assignment. Interactive tooltips display precise country data on hover, while an SVG-based legend identifies each nation’s color.

AI-generated description