Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Customizing Axes

0 stars0🌍 Public
YYanda Qu
Last edited Feb 20, 2021
Created on Feb 20, 2021
Forked from Making a bar chart

This example shows a horizontal bar chart of population data, highlighting the customization of axes. The chart uses D3 v6 to load CSV data and render SVG. It applies a linear scale for the x-axis and a band scale for the y-axis, removing default axis lines and gridlines. The x-axis is customized with a tick format that abbreviates numbers (e.g., 'G' replaced with 'B') and a custom axis label, while the y-axis ticks are displayed without lines.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed