Skip to main content
100%

React

✓ Published0🌍 Public
LLucas Fiorini
Last edited Jun 13, 2022
Created on May 31, 2022
Forked from React Starter

This example shows a horizontal bar chart of population by country, with the top five most populous nations ranked on the y-axis and population values on the x-axis. Hovering over a bar reveals its exact figure via a tooltip. The visualization is built with React components, using d3.scaleBand and d3.scaleLinear for layout, while d3.csv loads the UN Population 2019 dataset. Axes are rendered as SVG elements with tick labels formatted using d3.format.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes