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 stars1🌍 Public
Bbillmccabeusa@hotmail.com
Last edited Nov 15, 2024
Created on Nov 15, 2024

This fork of a refactored bar chart displays the top 10 most populous countries from United Nations World Population Prospects 2019 data, rendered as horizontal bars without axes. The React-based SVG visualization uses D3 v5’s `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with dedicated components for left and bottom axes and marks. Data is loaded asynchronously from a CSV file using D3’s `csv` function, and the chart is drawn with SVG `<rect>` elements.

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