Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Viewing a saved revision (read-only)

bda4ff9eb32d44d4a78ab1d449b0db62

Making a Bar Chart

0 stars0🌍 Public
CCodeHandLuke
Last edited Aug 13, 2019
Created on Aug 13, 2019
Forked from Making a Bar Chart

A bar chart displays population estimates for ten countries from a CSV file, with horizontal bars sorted by country name. D3 v5 loads the data via `csv`, scales it with `scaleLinear` and `scaleBand`, and renders SVG rectangles. Axes are generated using `axisLeft` and `axisBottom`. The chart is drawn inside an SVG element with margins applied through a group transform.

AI-generated description