Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

d9505d207fbf4ce4b97881d0107af46c

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

0 stars1🌍 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