🌍 Public
Stylized Bar Chart
This stylized bar chart displays the ten most populous countries using data from the United Nations World Population Prospects 2019. The visualization ranks each nation horizontally by population, with a teal fill color and custom Poppins typography. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles through a custom `Marks` component. The chart includes formatted axis ticks that abbreviate large numbers (e.g., "1.4B") and provides tooltips on hover via SVG `<title>` elements.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed
Comments
Sign in to join the discussion.