Stylized Bar Chart
✓ Published0🌍 Public
This example displays the world’s ten most populous countries as horizontal bars, with population values formatted in billions and country names labeled on the left axis. Built with React and D3 (d3.scaleBand, d3.scaleLinear), it loads UN World Population Prospects 2019 data via d3.csv, sorting the top ten entries. The chart uses an SVG rendering, with axis tick styling and bar fill colors defined in CSS, plus native `<title>` elements for tooltips. A loading state appears while the data is fetched.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed