Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Mmarco-irene
Last edited Nov 26, 2022
Created on Nov 26, 2022
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, using a dataset from the United Nations World Population Prospects 2019. Each bar’s length encodes the population value, with a tooltip on hover showing the formatted figure. The visualization is built with D3 v5’s `scaleBand` and `scaleLinear`, rendered as SVG within a React application using `ReactDOM`. The code also uses `format` for tick labels and `csv` to load the data, with custom axis components and Poppins typography for styling.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes