Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Make a Bar Chart with D3.jh

Public visualization

Viewing a saved revision (read-only)

7feba73fc9f64d638f438d39d6069bef

Make a Bar Chart with D3.jh

0 stars0🌍 Public
MMichelle Mac
Last edited Sep 29, 2020
Created on Sep 29, 2020

This bar chart displays the ten most populous countries using horizontal bars, with population values in thousands. The visualization is built with React and D3 v5, using `d3.csv` to load data from `data.csv`, `d3.scaleLinear` and `d3.scaleBand` for scaling, and `d3.axisLeft` and `d3.axisBottom` for axes. Country names appear on the left, bars in steel blue, and a labeled population axis at the bottom. SVG rendering is used throughout.

AI-generated description

React Starter code.