Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Makeing a bar chart!

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed