Skip to main content
100%

Shapes with SVG and CSS

✓ Published0🌍 Public
IIhorFedorkiv94
Last edited Aug 10, 2020
Created on Jun 23, 2020

A horizontal bar chart displays the populations of the ten most populous countries. The visualization uses D3.js version 5, with `scaleLinear` for the x-axis and `scaleBand` for the y-axis. The SVG rendering is styled with CSS, including steelblue rectangles and custom axis labels. The `csv` function loads the population data, which is multiplied by 1000 for display. The chart includes a custom x-axis format that converts large numbers to billions.

AI-generated description
MIT Licensed

Similar vizzes