🌍 Public
Viewing a saved revision (read-only)
76f86a51dae145a08f62779baf3be9ae
Bar chart
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