Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

7963f55d0a5648c5a3e3ec24c4dcb114

Customizing Axes

0 stars1🌍 Public
GGeMixl
Last edited Dec 15, 2020
Created on Dec 14, 2020
Forked from HTML Starter

This example shows a horizontal bar chart of country populations, with countries arranged along the y-axis and population counts scaled along the x-axis. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand to map values to positions, and SVG rectangles for rendering. Custom margins are applied by translating a group element, demonstrating basic axis setup without displaying axes. The chart highlights relative population differences among the ten most populous countries.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.