Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Hhenry c
Last edited Apr 24, 2022
Created on Mar 20, 2022
Forked from Stylized Bar Chart

This example presents a horizontal bar chart of the ten most populous countries, using population data from the United Nations World Population Prospects 2019, loaded via `d3.csv`. The chart maps country names to a `scaleBand` y-axis and population values to a `scaleLinear` x-axis, with formatted tick labels like “1.3B” produced by `d3.format`. Rendered as SVG within a React component, the chart displays bars with hover tooltips and styled axes, demonstrating a modular approach to building interactive visualizations with D3 and React.

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