🌍 Public
Viewing a saved revision (read-only)
8e1ce5b5f7944f79a2d67bb24f951b9d
Shapes with SVG and CSS
A bar chart displays population sizes for ten countries, with horizontal bars ordered by country name. SVG rectangles are positioned using `d3.scaleBand` for the y-axis and `d3.scaleLinear` for the x-axis, driven by data loaded from a CSV file. The visualization renders entirely with SVG elements, styled via external CSS that removes page margins and hides overflow. Population values are converted from thousands to absolute numbers during data preprocessing.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.