Stylized Bar Chart
✓ Published1🌍 Public
This stylized bar chart visualizes the top 10 most populous countries using data from the United Nations World Population Prospects 2019, with horizontal bars sorted by country. Built with React and D3 v5, it uses d3.scaleBand for the categorical y-axis, d3.scaleLinear for the population x-axis, and d3.format to abbreviate large numbers with a custom tick formatter that converts 'G' to 'B'. The chart renders as SVG, with each bar displaying a native tooltip via an SVG `<title>` element, styled with the Poppins font and a teal color scheme.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed