Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Barchar

Public visualization

Viewing a saved revision (read-only)

900facd77ae94118abe370e2885f0b52

Barchar

0 stars1🌍 Public
HHombreLobotomia
Last edited Jul 17, 2019
Created on Jul 17, 2019

A bar chart displays population figures for ten countries, using horizontal bars scaled linearly by population and ordered by the dataset's country field. The visualization loads CSV data with d3.csv, converts population values to actual counts, and renders SVG rectangles via d3.scaleLinear and d3.scaleBand. Grey bars fill the full chart width, with margins applied through a translated group element. The chart updates dynamically from the data source, showing population comparisons at a glance with no axes or labels.

AI-generated description