Fork of Shapes and Colors with SVG and CSS
✓ Published0🌍 Public
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.
MIT Licensed