Skip to main content
100%

D3 Barchart

✓ Published2🌍 Public
NNicolas MacFlanigan
Last edited Nov 15, 2020
Created on Nov 15, 2020
Forked from D3 Face

This bar chart displays population figures for ten countries, from China and India down to France, using horizontal bars scaled by population size. The visualization is built with D3 v6, loading data from a CSV file and rendering vector graphics as SVG. It uses `d3.csv`, `scaleLinear`, and `scaleBand` to map population values and country names to bar lengths and positions, with `axisLeft` and `axisBottom` providing the chart’s axes.

AI-generated description
MIT Licensed

Similar vizzes