Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a bar chart

Public visualization

Viewing a saved revision (read-only)

6af877334b9245b6b48faf64761425b8

Make a bar chart

0 stars0🌍 Public
1123fischer
Last edited Nov 16, 2020
Created on Nov 16, 2020
Forked from Customizing Axes

A horizontal bar chart displays population figures for ten countries, ranked from largest to smallest. The chart uses D3 v5 with `csv` to load data and `scaleBand` for the categorical y-axis, while `scaleLinear` maps population values to bar widths. Axes are added with `axisLeft` and `axisBottom`, and bars are rendered as SVG `rect` elements. The data is read from `data.csv`, with population values multiplied by one thousand during preprocessing.

AI-generated description