Scatter Plot 2
✓ Published0🌍 Public
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.
MIT Licensed