Skip to main content
100%

Fork of Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
Ssergey-kvachenok
Last edited Jan 10, 2021
Created on Jan 9, 2021

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 description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes