Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Refactored Bar Chart

Public visualization

Fork of Refactored Bar Chart

0 stars0🌍 Public
Kkoech1
Last edited Dec 24, 2023
Created on Dec 24, 2023

This example shows the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population counts on the x-axis. The visualization is built using React and renders SVG elements, with D3’s `scaleBand` and `scaleLinear` handling the coordinate mappings. Axes are custom components that generate tick marks and labels, while the data is loaded from a CSV file of United Nations World Population Prospects 2019 via D3’s `csv` function.

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