Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Makeing a bar chart!

Public visualization

Viewing a saved revision (read-only)

9d6d074c4a5a49c695bb5ef89bc44213

Makeing a bar chart!

0 stars0🌍 Public
VVincent Ko
Last edited Feb 17, 2019
Created on Feb 17, 2019

This bar chart displays population figures for ten countries, sourced from a CSV file. Each rectangle’s width corresponds to the population value, scaled linearly, while the y-axis uses a band scale for country names. Built with D3 v5, the code uses `scaleLinear`, `scaleBand`, `select`, and `csv` to load data and render SVG rectangles.

AI-generated description