Bar Chart with react and d3
✓ Published1🌍 Public
This bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019, with a horizontal layout and axes for comparison. The visualization is built with React and D3 v5, rendering SVG elements via React components. It uses `scaleBand` for the categorical country axis and `scaleLinear` for the population scale, with formatted tick labels converting billions to “B” notation. The chart includes a bottom axis and left labels, styled with the Nunito font, and omits gridlines beyond the axis ticks.
AI-generated descriptionA program that shows the top 10 most populous countries as a pathetic bar chart with no axes.
MIT Licensed