Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart #2 the margin convention

Public visualization

Bar chart #2 the margin convention

0 stars0🌍 Public
AAbdul Salam Almadani
Last edited Oct 26, 2020
Created on Oct 25, 2020
Forked from Hello VizHub

This bar chart displays the populations of the top 10 largest U.S. cities in 2020, loaded from a CSV file using D3’s `csv` utility. The visualization demonstrates the margin convention, using React to render an SVG with axes and bars scaled by `d3.scaleBand` and `d3.scaleLinear`. Gridlines and tick labels are generated from `yScale.ticks()`, while city names are rotated along the bottom axis.

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!

Comments

Sign in to join the discussion.

MIT Licensed