Bar chart
✓ Published0🌍 Public
This bar chart displays the populations of ten countries in 2020, sourced from UN population data, using horizontal bars where length encodes magnitude and a title tooltip reveals exact values. Built with React and D3 v5, it uses `scaleBand` for categorical y-axis positioning and `scaleLinear` for quantitative x-axis scaling, with axes rendered as SVG elements and a `.replace('G', 'B')` format to show billions.
AI-generated descriptionmaking of a bar chart
MIT Licensed