Skip to main content
100%

Refactor barchart

✓ Published1🌍 Public
EEugenio2192
Last edited Jul 11, 2021
Created on Jul 11, 2021
Forked from Bar with axis

This bar chart displays the top 10 countries by population for 2020, using data from a CSV file loaded with D3's `csv` utility. React renders axis ticks and bars as SVG elements, with `scaleBand` and `scaleLinear` from D3 computing positions and lengths. The code modularizes axes and marks into separate React components, passing down scale objects as props to generate the visualization declaratively.

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