🌍 Public
Viewing a saved revision (read-only)
cf74800956974f8ea688466313fba3bd
Stylized bar chart
This example displays the top 10 most populous countries as horizontal bars, ranked by population from the United Nations World Population Prospects 2019 dataset. The chart uses React to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, d3.csv for data loading, and d3.format for abbreviating population ticks. A native SVG `<title>` element provides hover tooltips, while the Poppins font and teal bars create a stylized aesthetic.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.