Fork of Bar Chart
✓ Published1🌍 Public
This example shows the ten most populous countries as horizontal bars, with population values scaled along the x-axis and country names labeled on the y-axis. The visualization uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning and sizing, and d3.format to abbreviate axis tick labels. Data comes from the United Nations World Population Prospects 2019 dataset, loaded via d3.csv, and the chart includes a "Population" axis label but omits a y-axis title.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed