Skip to main content
100%

Simple Bar Chart

✓ Published1🌍 Public
KK3zter
Last edited Dec 17, 2021
Created on Dec 17, 2021

This bar chart displays the populations of ten countries for the year 2020, using horizontal bars sorted by the data's original order. The visualization loads its data from a CSV file via `d3.csv`, stores it in React state, and renders SVG rectangles positioned with `scaleBand` and scaled with `scaleLinear`. The chart is built with React 17, D3 7, and targets an SVG canvas.

AI-generated description

Loads in some data using D3 and uses react state to track the data

MIT Licensed

Similar vizzes