Question 4
✓ Published0🌍 Public
This bubble chart compares GDP per capita and life expectancy for five countries, with bubble size scaled to population. The visualization uses D3 v5’s `d3.scaleLinear` for both axes, `d3.scaleSqrt` for bubble radii, and `d3.axisBottom`/`d3.axisLeft` to render ticks. Data loads from a CSV, and each circle’s position maps GDP on the x-axis and life expectancy on the y-axis, with country labels overlaid. SVG rendering with `circle` and `text` elements shows population, wealth, and health outcomes in a single static view.
AI-generated descriptionMIT Licensed