🌍 Public
Viewing a saved revision (read-only)
ca9b563f28b84ab997eeb29f7446d7ab
Fork of Shapes and Colors with SVG and CSS
This bar chart displays the population of the top 10 most populous countries, with countries on the y-axis and population on the x-axis. It uses D3 v6’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` APIs to construct the chart within an SVG element. The data is loaded from a CSV file and rendered as steelblue rectangles, with gridlines and styled text via CSS.
AI-generated descriptionAn example including some commonly used features of SVG.