Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
Nneydareh
Last edited Nov 18, 2019
Created on Nov 18, 2019
Forked from Bar Chart

A bar chart displays population counts for ten countries, using horizontal bars sorted by descending value with China and India leading. The visualization loads data from a CSV file, parses population figures, and renders SVG rectangles via D3 v5. It uses `d3.csv`, `scaleLinear` for the quantitative x-axis, `scaleBand` with padding for categorical y-axis placement, and configures `axisLeft` and `axisBottom` for ticks. Steelblue bars are drawn on a 960×500 canvas with explicit margins.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed