Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Question 4

Public visualization

Question 4

0 stars0🌍 Public
Ppavanbellam@my.unt.edu
Last edited Apr 5, 2025
Created on Apr 5, 2025
Forked from Hello VizHub

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 description

Comments

Sign in to join the discussion.

MIT Licensed