Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
JJoe Hutchins
Last edited Feb 22, 2022
Created on Feb 22, 2022

This example displays population figures for ten OECD countries from 2006 to 2012 as a horizontal bar chart. Bars render as SVG rectangles via React components, with D3’s `scaleBand` and `scaleLinear` mapping countries and population values to positions and widths. The chart uses `d3.csv` to load remote data, `d3.format` to abbreviate tick labels, and includes custom axis components and tooltips.

AI-generated description

A program that load in some data about CSS named colors using D3 utilities, and uses React to render a Bar Chart – STYLIZED!!

MIT Licensed

Similar vizzes