Stylized barchart
✓ Published1🌍 Public
This stylized bar chart displays the ten most populous countries, sorted by population, using data from the United Nations World Population Prospects 2019. Orange bars extend horizontally from the left, with a bottom axis showing population in billions and left axis labels for country names. Built with React and D3 v5, the SVG visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with custom components for axes and marks. Population values are formatted using D3’s `format` function to abbreviate large numbers, like replacing “G” with “B.”
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed