🌍 Public
Viewing a saved revision (read-only)
f0141a1c62c1442e98566df703a93810
Activity6_Ques4
This bubble chart visualizes the correlation between GDP per capita, life expectancy, and population area ratio across 20 countries. Each circle’s position encodes GDP per capita (x-axis) and life expectancy (y-axis), while its radius represents population density. The visualization uses D3 v7 with SVG rendering and interactive tooltips that display country-specific values on hover. A categorical color scale distinguishes countries, paired with a legend. The chart reads data from a CSV file and animates tooltip transitions, with circle opacity increasing on mouseover for enhanced readability.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.