HTML Starter
✓ Published0🌍 Public
This example displays the top 10 most populous countries as horizontal bars, with country names on the y-axis and population on the x-axis, using data from the United Nations World Population Prospects 2019. Built with React and D3.js, it utilizes `scaleBand` and `scaleLinear` for scales, and renders custom SVG axes and marks. The chart includes formatted tick labels (e.g., converting billions to "B") and a population axis label, all within a 960×500 pixel SVG canvas.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed