Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
Oorihash
Last edited May 6, 2022
Created on May 6, 2022
Forked from D3 Starter

A bar chart displays population counts for four countries, with horizontal bars ordered by country name and a log-free linear scale. The visualization uses D3 v7’s `csv` loader to parse `data.csv`, `scaleLinear` and `scaleBand` for axes, and `axisBottom` with a custom tick formatter to abbreviate numbers. Rendered as SVG rectangles filled with steelblue, the chart maps population values to bar widths and country names to row positions, with axes and margins computed from the viewport dimensions.

AI-generated description
MIT Licensed

Similar vizzes