Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

Refactored Bar Chart

0 stars1🌍 Public
Aazharahmad0
Last edited Mar 26, 2021
Created on Mar 26, 2021

A horizontal bar chart displays population estimates for the ten most populous countries in 2020, sourced from UN population data loaded as CSV via `d3.csv`. The React app uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles through reusable `AxisBottom`, `AxisLeft`, and `Marks` components that map over scales and accessor functions.

AI-generated description

A program that loads in some data about css named colors using D3 utitilities, and uses React render the data.

Comments

Sign in to join the discussion.

MIT Licensed