Skip to main content
100%

D3 Page Template

✓ Published0🌍 Public
Jjane-heff
Last edited Nov 30, 2020
Created on Nov 30, 2020
Forked from Stylized Bar Chart

This example displays the top 10 most populous countries as horizontal bars, with country names on the vertical axis and population counts on the horizontal axis. The visualization is built with React components that use D3 scales, including `scaleBand` for the categorical y-axis and a linear scale for the x-axis. Data is loaded asynchronously from a CSV file using `d3.csv` from D3 v6, with the UN World Population Prospects 2019 dataset. Axes and marks are rendered as SVG elements through reusable JSX components, with tooltips embedded as SVG `<title>` elements.

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