🌍 Public
Viewing a saved revision (read-only)
2f356e947ff743c69dd44117ab4e1f4f
Tutorial 4.
A bubble chart visualizes the correlation between GDP per capita, happiness score, and population for ten countries. Each circle’s position encodes economic output and subjective well-being, while its radius represents population size. The visualization includes axes, labels, a legend for population magnitudes, and interactive tooltips that display exact values on hover. It uses D3 v7 with SVG rendering, loading data from a CSV file and applying linear scales for position and bubble sizing.
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.