Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
RRoberto
Last edited Aug 17, 2023
Created on Aug 17, 2023

This visualization displays the top 10 most populous countries as a horizontal bar chart, using data from the United Nations World Population Prospects 2019. It uses React for component composition and d3.v5’s `scaleBand`, `scaleLinear`, and `max` for scales and domain calculation. The chart renders as SVG, with axes constructed via custom `AxisBottom` and `AxisLeft` components, while `Marks` draws the rectangular bars. Data is loaded asynchronously with d3’s `csv` function and filtered to the first 10 rows.

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