Skip to main content
100%

Fork of Let's make a Bar Graph with D3.js

✓ Published0🌍 Public
AAbdouEnsaj
Last edited Sep 22, 2022
Created on Sep 22, 2022

A horizontal bar chart displays population totals for ten countries, with bars ranked from China to Mexico. The visualization uses D3 v7 to load CSV data, scale linear and band scales, and render axes via `axisLeft` and `axisBottom`. SVG rectangles are appended and sized with `scaleLinear` and `scaleBand`, while margins and transforms position the chart within an SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes