🌍 Public
Viewing a saved revision (read-only)
ddf316ee27a8496dab2e67a27c3b7d8a
activity7_task4
This bubble chart compares GDP per capita with life expectancy for countries worldwide, where each circle’s size reflects population and its color denotes continent. Hovering over a bubble reveals a tooltip with the country name, while focusing on a continent dims all other bubbles to highlight that group. The visualization uses d3.v4 with SVG rendering, d3-scale-chromatic for color schemes, and interactive CSS transitions for hover effects. Data is loaded from a remote CSV file, and scales are defined using d3.scaleLinear and d3.scaleSqrt.
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.