Skip to main content
100%

refactored bar chart in React and D3

✓ Published1🌍 Public
Bblackbottt
Last edited May 27, 2022
Created on May 27, 2022

A bar chart displays the 2020 population of countries from a World Population UN prospects dataset, with countries on the vertical axis and population on the horizontal axis. The visualization is built using React and D3 v5, where components like AxleBottom and AxleLeft render axis ticks and labels using d3.scaleBand and d3.scaleLinear, while Marks draws the rectangular bars as SVG elements. The code loads the CSV data with d3.csv and hooks.

AI-generated description

A program that loads data in React whilst using d3 utilities rendering as a radial burst!

MIT Licensed

Similar vizzes