Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

d30f1b5bc6ca46b2ad3f8cb3e852b2fd

Bar Chart

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

This bar chart displays the population of ten countries, ordered by size along a horizontal axis. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to map quantitative values and categorical labels, rendering bars as SVG `rect` elements. Data is loaded from a CSV file via `d3.csv`, with population values converted from thousands to raw numbers. Margins define the plotting area, and axes are appended to a translated group element.

AI-generated description