Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 PROJECT

Public visualization

Viewing a saved revision (read-only)

6178082948fd47adb977de6d55afa0a9

D3 PROJECT

0 stars1🌍 Public
SShabani Muswamba
Last edited Apr 18, 2020
Created on Apr 17, 2020
Forked from HTML Starter

This bar chart displays the population of ten countries, from China at over 1.4 billion down to Mexico at 130 million. Built with React and D3 v5, it renders as an SVG using `scaleLinear` for the x-axis and `scaleBand` for the y-axis, with axes added via `axisBottom` and `axisLeft`. Population data is loaded from a CSV file and converted to numbers before rendering, with bars colored green and a styled path for the axes.

AI-generated description

A bare minimum HTML page.

See also React Starter.