Skip to main content
100%

Fork of Refactored Bar Chart

✓ Published0🌍 Public
Lltostes
Last edited Jul 27, 2021
Created on Jul 27, 2021

This example presents a bar chart of the ten most populous countries based on United Nations World Population Prospects 2019 data, loaded from a CSV URL. The chart displays population totals as horizontal bars, with country names on the y-axis and population values on the x-axis. It uses React for component-based rendering, d3.scaleBand and d3.scaleLinear for scaling, and d3.csv for data loading. The visualization renders as SVG, with separate React components for the bottom axis, left axis, and marks (rectangles), all coordinated through props.

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