Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored bar chart

Public visualization

Viewing a saved revision (read-only)

fec06b70c9c645158b915877e35888bd

Refactored bar chart

0 stars1🌍 Public
DDeborah Ong
Last edited Apr 3, 2021
Created on Apr 3, 2021

This bar chart displays the top 10 countries by population from the UN Population 2019 dataset. React components render the SVG, with d3-scale’s `scaleBand` and `scaleLinear` handling axes and bar positions, while d3.csv fetches the data. The chart separates axes and marks into reusable components, making the visualization dataset-agnostic.

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.