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

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

Comments

Sign in to join the discussion.

MIT Licensed