🌍 Public
Viewing a saved revision (read-only)
373fbe78361b40959aaf7a40b1b83024
Activity test
This bubble chart visualizes the correlation between average life expectancy, population, and GDP per capita for six countries using a CSV dataset. Each circle’s position maps to life expectancy and population on the x and y axes, while its radius encodes GDP per capita and its color distinguishes countries via a `d3.scaleOrdinal` with interpolated turbo colors. Interactive tooltips appear on hover using mouse events. A legend includes size reference circles and color swatches, all rendered with SVG in D3 v7.
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.