Fork of Stylized Bar Chart
✓ Published0🌍 Public
This example visualizes the top 10 most populous countries using a horizontal bar chart, based on United Nations World Population Prospects 2019 data. The chart displays country names on the y-axis and population values on the x-axis, with bars styled in a teal color and labeled axes using the Poppins font. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. It renders as SVG, with axes generated by custom `AxisBottom` and `AxisLeft` components, and includes tooltips formatted with D3's `format` function.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed