Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a Bar Chart

Public visualization

Making a Bar Chart

0 stars0🌍 Public
Jjay
Last edited Feb 10, 2020
Created on Feb 10, 2020
Forked from Making a Bar Chart

This example demonstrates the basics of building a bar chart without axes, showing the top 10 most populous countries with bar lengths proportional to population. Using D3 v5, it employs the `select` and `range` APIs to generate fruit-like circles that animate size and position via `transition()`, while the `scaleOrdinal` API maps categories to colors and radii. The data comes from the United Nations World Population Prospects 2019, loaded from a CSV file, and the visualization updates through a series of timeout-driven state changes.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed