Skip to main content
100%

Customizing Axes

✓ Published0🌍 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
MIT Licensed

Similar vizzes