Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example presents the top 10 most populous countries as a horizontal bar chart, using population data from the United Nations World Population Prospects 2019. The SVG visualization is built with React and D3 v5, using `scaleBand` for the y-axis and `scaleLinear` for the x-axis. Rectangles are rendered as marks, with the data loaded via `d3.csv` and formatted using `d3.format` to convert values to billions. Axes are custom React components, and a `title` element provides a native tooltip on hover.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed