Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Ccynichole
Last edited Feb 21, 2022
Created on Feb 21, 2022

This stylized bar chart displays the populations of the top ten countries in 2020 using horizontal bars. The visualization uses React state to load and manage data from a UN Population CSV file, with D3 v5 utilities like `csv()`, `scaleBand()`, and `scaleLinear()` to map values. SVG rectangles render the bars, colored orange with a Poppins font, while axes include formatted tick labels using `format('.2s')`. Tooltips appear via SVG `<title>` elements, and the chart is fully responsive to its 960x500 frame.

AI-generated description

A program that loads in some data using D3 utilities and uses React state to keep track of the data.

MIT Licensed

Similar vizzes