🌍 Public
Viewing a saved revision (read-only)
62a933df1f5e48b3a5c763cd72112ee6
Scatter Plot
This example displays the top 10 most populous countries as a scatter plot, with each circle representing a country and its size encoded by population. The visualization uses React and D3 v5, with `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and SVG circles rendered from the United Nations World Population Prospects 2019 dataset. Axis labels and tick formatting are handled by custom components, while tooltips via `<title>` elements show population values in billions.
AI-generated descriptionA program that shows the top 10 most populous countries as a scatter plot.