Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Refactored Bar Chart

Public visualization

Refactored Bar Chart

0 stars1🌍 Public
EEFezerKW
Last edited Sep 28, 2021
Created on Sep 28, 2021

This visualization shows the top 10 countries by population for 2020 as a horizontal bar chart, with country names on the y-axis and population along the x-axis. Loading data via d3.csv from a UN population CSV, it uses React components to render SVG rects, with scales built from d3.scaleBand and d3.scaleLinear. Axis ticks and labels are generated manually with React JSX, mimicking D3’s axis pattern without d3.axisBottom or d3.axisLeft.

AI-generated description

A program that loads in some data using D3 uitilities, and uses React to render the data as a radial burst!

Comments

Sign in to join the discussion.

MIT Licensed