Skip to main content
100%

Customize axis

✓ Published1🌍 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.

MIT Licensed

Similar vizzes