Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customize axis

Public visualization

Viewing a saved revision (read-only)

412c6565453142eab517f386e28d8888

Customize axis

0 stars1🌍 Public
Oowenking2710@gmail.com
Last edited Sep 25, 2023
Created on Sep 25, 2023
Forked from test d3

A horizontal bar chart displays the populations of China, India, and the United States, using a custom SVG axis. The chart loads data from a CSV file, converting population values to thousands. It uses d3.scaleLinear and d3.scaleBand for positioning, and d3.axisBottom with a custom tick formatter that abbreviates large numbers. Grid lines extend across the plot, while the y-axis and domain lines are removed, leaving a clean, labeled visualization.

AI-generated description

An example including some commonly used features of SVG.