Skip to main content
100%

Activity6_Question4

✓ Published0🌍 Public
Mmaneeshraja47@gmail.com
Last edited Oct 31, 2025
Created on Oct 31, 2025
Forked from Activity6_task4

This D3.js v7 bubble chart visualizes the relationship between GDP per capita, life expectancy, and population for countries in 2007, with bubbles positioned by GDP (on a log scale) and life expectancy, while bubble size encodes population. The chart uses `d3.scaleLog`, `d3.scaleSqrt`, and `d3.scaleOrdinal` to map data attributes, and renders in SVG with hover tooltips built via `d3.select` and the `.join` operator. Data is loaded from a CSV file containing country-level indicators, and the visualization includes legends for bubble size and continent color coding.

AI-generated description
MIT Licensed

Similar vizzes