Skip to main content
100%

Stylized Bar Chart with Reach and D3

✓ Published0🌍 Public
Iivipaneva2002@gmail.com
Last edited Mar 1, 2024
Created on Mar 1, 2024

This example presents a stylized bar chart comparing the populations of the top ten countries in 2020, sourced from a UN population dataset loaded via `d3.csv`. It shows the data as horizontal bars using React components for rendering, with axes built from `scaleBand` and `scaleLinear`. The visualization uses D3 utilities for data loading and scaling, while React handles the SVG markup through custom components like `AxisBottom`, `AxisLeft`, and `Marks`, which map data to rects and axis ticks.

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