🌍 Public
Viewing a saved revision (read-only)
5b77871b03ae4fdfb40efc2f071d46ad
Assignment6_Question4.9
This bubble chart compares GDP and average life expectancy across ten countries, with circle size encoding population and color identifying each nation. The visualization uses D3.js v6 scales (`d3.scaleLinear`, `d3.scaleSqrt`) and SVG rendering to position bubbles, draw axes with `d3.axisBottom` and `d3.axisLeft`, and generate a custom legend. Data is loaded from a local CSV file via `d3.csv`, with labels for axes and a title providing context.
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.