Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

Refactored Bar Chart

0 stars1🌍 Public
CChira Cezara Victoria
Last edited Oct 2, 2021
Created on Oct 2, 2021

A horizontal bar chart displays populations for the top ten countries from the UN Population 2019 dataset, loaded via d3.csv. The React app uses d3.scaleBand for categorical y-axes and d3.scaleLinear for quantitative x-axes, rendering SVG rectangles through custom AxisBottom, AxisLeft, and Marks components. React hooks manage asynchronous data fetching, while D3 v5 and v7 are both loaded in the HTML.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed