Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example shows the ten most populous countries in 2020 as horizontal bars, sorted by population, with a labeled x-axis formatting values in billions. The chart is built with React and D3 v5, using a `scaleBand` for the y-axis and a `scaleLinear` for the x-axis. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Each `<rect>` mark includes an SVG `<title>` element for tooltips. Styling uses Poppins font and custom colors for bars and axes.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed