Stylized Bar Chart
✓ Published1🌍 Public
This stylized bar chart displays the top 10 most populous countries using a horizontal layout, with a teal fill for each bar. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the population x-axis, rendering bars as SVG rectangles via the `Marks` component. Axis ticks are styled with custom CSS, and population values are formatted with D3's `format` function, converting billions to display as "B". The data comes from the United Nations World Population Prospects 2019, loaded via D3's `csv` method.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed