Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Makeing a bar chart!

Public visualization

Viewing a saved revision (read-only)

a9f1480ca2934ef9bc8b01d1ce7d2411

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