Skip to main content
100%

Stylized Bar Chart

✓ Published1🌍 Public
Wwindwaver
Last edited Mar 24, 2021
Created on Mar 24, 2021

A stylized horizontal bar chart displays the ten most populous countries in 2020, using CSS named colors and React to render an SVG visualization. The chart loads population data from a CSV source via D3’s `csv` utility and scales it with `scaleBand` and `scaleLinear`. Axes are drawn from custom React components, with formatted tick labels using `format`. Each bar is a simple rectangle with a tooltip, rendered declaratively through React components like `AxisBottom`, `AxisLeft`, and `Marks`.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data as a radial burst!

MIT Licensed

Similar vizzes