Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
EEFezerKW
Last edited Sep 28, 2021
Created on Sep 28, 2021

This visualization presents a stylized horizontal bar chart ranking the ten most populous countries using data from the UN Population 2019 dataset. The bars are rendered as SVG rectangles via React, with length encoding each country’s 2020 population. The code uses d3.scaleBand for the categorical y-axis, d3.scaleLinear for the quantitative x-axis, and d3.format to abbreviate tick labels (e.g., converting billions to “B”). D3’s csv loader fetches the external CSV file, while the Marks component adds native tooltips showing the formatted population values.

AI-generated description

A program that loads in some data using D3 uitilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes