Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of bargraph d3

Public visualization

Viewing a saved revision (read-only)

bbb1d837ffeb4762b388a519522abe82

Fork of bargraph d3

0 stars0🌍 Public
FForemost123
Last edited May 18, 2021
Created on May 18, 2021
Forked from bargraph d3

A horizontal bar chart displays country populations with bars extending rightward from the y-axis. The example loads data from a CSV file and renders it as SVG rectangles using D3 version 6. It employs `d3.scaleLinear` for the x-axis population scale, `d3.scaleBand` for the categorical y-axis, and `d3.csv` to parse the data. The visualization demonstrates basic data binding and SVG attribute manipulation with `selectAll` and `enter` selections.

AI-generated description

A demonstration of how to start using D3 version 6.