Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
YYedrup
Last edited Jan 28, 2021
Created on Jan 28, 2021

This example shows the top 10 most populous countries as horizontal bars ordered by country name, with no axes initially visible. The visualization uses React components to render SVG elements, leveraging D3 v5 functions like `scaleBand` and `scaleLinear` for positioning. Data comes from the United Nations World Population Prospects 2019 CSV file, loaded via D3’s `csv` parser and filtered to the first ten rows. The chart includes separate React components for axis rendering and bar marks, though the axes are left unlabeled in the final output.

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.

MIT Licensed

Similar vizzes