🌍 Public
Viewing a saved revision (read-only)
0b84a2534e7b4610a4191a72f8cef0fa
Activity6 Question4
This bubble chart displays the relationship between healthcare spending and life expectancy across several countries from 1970 to 1974. Each bubble’s size and position reflect spending, while color distinguishes countries. The visualization uses D3 v7 to load CSV data, scale linear axes, and render SVG circles. Interactive tooltips appear on mouseover, showing country-specific values. A legend encodes spending levels and country colors, with all elements animated through D3’s data joins and transitions.
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.