Fork of Assignment6_Question4.9
✓ Published1🌍 Public
This bubble chart visualizes the relationship between GDP, life expectancy, and population for ten countries. Circles are positioned by GDP on the x-axis and life expectancy on the y-axis, with circle size representing population and color identifying each nation. The code uses D3 v6’s `scaleLinear`, `scaleSqrt`, and `d3.axisBottom`/`axisLeft` APIs, loading data from a local CSV. An SVG legend displays country-color mappings, with axis labels and a title clarifying the quantitative comparisons.
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.
MIT Licensed