Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

The Axis Convention

Public visualization

The Axis Convention

0 stars1🌍 Public
Gguptambergatech
Last edited Jan 9, 2022
Created on Jan 9, 2022

This example visualizes the top 10 most populous countries from a United Nations 2019 dataset using horizontal bars. The chart renders with React and D3 v7, computing linear and band scales via `scaleLinear` and `scaleBand` to map population values and country names. Axis ticks and labels are generated from the scales’ tick methods, with SVG rectangles representing each country’s population, drawn within an SVG canvas sized to the browser window.

AI-generated description

Smiley face implementation with React.

Comments

Sign in to join the discussion.

MIT Licensed