Skip to main content
100%

Refactored Bar Chart

✓ Published0🌍 Public
AAngel Lam
Last edited Mar 15, 2021
Created on Mar 15, 2021

This visualization displays the populations of ten countries in 2020 as horizontal bars, with the country names on the y-axis and population values on the x-axis. The chart is built using React to render SVG elements, with D3’s `scaleBand` and `scaleLinear` handling the scales. Data is loaded asynchronously via `d3.csv` from a GitHub-hosted UN population dataset, and the chart uses reusable components for axes and marks.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst

MIT Licensed

Similar vizzes