Stylized Bar Chart
✓ Published1🌍 Public
This example shows the top 10 most populous countries as a horizontal bar chart, with population values from the United Nations World Population Prospects 2019. The visualization uses React to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, and d3.format to abbreviate tick labels (e.g., “1.4B”). The d3.csv loader imports the data, and native SVG <title> elements provide tooltips on hover.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed