Skip to main content
100%

Bar Chart

✓ Published1🌍 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
MIT Licensed

Similar vizzes