Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

a924a96e2d034b68a99273b779bd7d67

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

0 stars0🌍 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