Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example shows the top 10 most populous countries as a horizontal bar chart, using data from the United Nations World Population Prospects 2019. The chart uses React with D3 v5’s `scaleBand` and `scaleLinear` to position bars, and custom SVG components for axes and marks. Population values are formatted with `d3.format` to display in billions. The chart is rendered using SVG within a React component, with data loaded asynchronously via `d3.csv` and styled with the Poppins font.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed