Skip to main content
100%

Dataviz 6 - Refactoring

✓ Published1🌍 Public
RRyAlpha
Last edited Nov 24, 2021
Created on Nov 24, 2021

This example displays a horizontal bar chart of the top 10 most populous countries, using data from the United Nations World Population Prospects 2019. It shows each country’s population as a bar, with axes for both countries and population values. The visualization is built with React and d3.v5, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and the `csv` loader to fetch and parse the data. All marks and axes are rendered as SVG elements through reusable React components.

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