Skip to main content
100%

Refactor Bar Chart

✓ Published0🌍 Public
MMadNietzsche
Last edited Aug 13, 2021
Created on Aug 10, 2021

A horizontal bar chart displays population estimates for ten countries from UN population data for 2020. The chart uses React with hooks to fetch and parse CSV data via D3’s `csv` utility, then renders SVG bars and tick labels using D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. The React component conditionally shows a loading state before rendering the chart.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state as a Radar Burst

MIT Licensed

Similar vizzes