Skip to main content
100%

Fork of Let's Make a Face with D3.js!

✓ Published1🌍 Public
JJordan Arnold
Last edited Mar 8, 2021
Created on Mar 8, 2021

This horizontal bar chart displays population figures for ten countries, with each bar’s length scaled linearly from zero to the maximum population. The visualization loads data from a CSV file using `d3.csv`, converts population values to thousands, and renders SVG rectangles with `scaleLinear` and `scaleBand` for positioning. Axes are generated via `d3.axisLeft` and `d3.axisBottom`, while D3 v5’s selection and data-join methods bind the dataset to the graphic.

AI-generated description
MIT Licensed

Similar vizzes