🌍 Public
Viewing a saved revision (read-only)
36aaaf8aa1ed43d9b92d3ac5918ce9bb
Scatter Plot 2
This example displays the top 10 most populous countries as a horizontal bar chart, showing population values with abbreviated tick labels. The chart uses React to render SVG elements, with D3 scale functions (`scaleBand` and `scaleLinear`) mapping country names and population data. Axes are custom-built components, and the data comes from the United Nations World Population Prospects 2019 dataset. Tooltips display formatted population values on each bar.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.