Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of react bar 2 margins

Public visualization

Viewing a saved revision (read-only)

5afed125c9824c28a47be380555661e1

Fork of Fork of react bar 2 margins

0 stars1🌍 Public
MMalcolm Mead
Last edited Jan 18, 2022
Created on Jan 18, 2022

This bar chart displays the top 10 countries by 2020 population from a UN dataset, using a horizontal bar layout with yellow circular background elements. The React application fetches CSV data via d3.csv, scales the bars with d3.scaleLinear and d3.scaleBand, and renders the SVG inside a viewBox with margins. The visualization loads using React 17, D3 v7, and includes a background circle component that acts as a decorative frame.

AI-generated description

A bare minimum HTML page.