Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Yyejichun@naver.com
Last edited Dec 20, 2021
Created on Dec 20, 2021

This stylized bar chart displays the top 10 most populous countries in 2020, using horizontal bars whose lengths encode population values. The visualization is built with React and D3 v5, where React manages state and D3 utilities like `scaleBand` and `scaleLinear` handle positioning and scaling. The SVG rendering includes custom axis components that format tick labels with units (e.g., "1.5B" for billions) and a tooltip via the `<title>` element. Data is loaded as CSV from a remote URL and filtered to the first ten rows.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to render the data.

MIT Licensed

Similar vizzes