Skip to main content
100%

Rendering data with react & d3

✓ Published0🌍 Public
PPetko4
Last edited Aug 3, 2022
Created on Aug 3, 2022

A horizontal bar chart displays the 10 most populous countries from the UN Population 2019 dataset, fetched via d3.csv. React manages the component state and rendering, while D3's scaleBand and scaleLinear compute the bar positions and lengths. The visualization uses SVG rectangles, with each bar’s width proportional to the 2020 population estimate.

AI-generated description
MIT Licensed

Similar vizzes