Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

Viewing a saved revision (read-only)

940e6c2dfae94516ba30edfc4bea89d7

Refactored Bar Chart

0 stars1🌍 Public
MMichael Bergerson
Last edited Dec 29, 2020
Created on Dec 28, 2020

This example shows a horizontal bar chart ranking the ten most populous countries by their 2020 population estimates. The visualization loads data from a CSV file containing UN population figures, then renders a clean SVG layout with labeled category axes, using React to manage component structure and D3’s scaleBand and scaleLinear to map data values to pixel coordinates, with a visible network request for the external data.

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.