D3
✓ Published1🌍 Public
A horizontal bar chart displays population estimates for ten countries, sorted from China to Mexico, with bars extending from a linear scale and country names on a band scale. Data is loaded from a CSV and multiplied by 1,000 to reflect full population figures. The SVG is rendered using D3 v5, employing `d3.scaleLinear`, `d3.scaleBand`, and axes with custom tick formatting that abbreviates large numbers (e.g., “1.42B”). Grid lines and axis labels are styled via CSS and D3’s `axisBottom` and `axisLeft`.
AI-generated descriptionMIT Licensed