Skip to main content
100%

Barchart

✓ Published0🌍 Public
MMari Roberts
Last edited Sep 15, 2020
Created on Sep 14, 2020
Forked from Lets make a face

A horizontal bar chart displays each country’s population as a scaled rectangle, with Russia and India appearing largest. The data comes from a CSV file, loaded via `d3.csv`, and values are multiplied by 1000 before rendering. The SVG visualization uses `scaleLinear` for the x-axis width, `scaleBand` for the y-axis country ordering, and `selectAll` with `enter().append` to create the rectangles. Styling is minimal, with the chart filling the viewport and bars drawn in the default black color.

AI-generated description
MIT Licensed

Similar vizzes