Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
VVikil Lakkavatri
Last edited Jul 19, 2020
Created on Jul 19, 2020
Forked from Customizing Axes

This example displays a horizontal bar chart of population figures for prefectures in East Japan, with each bar’s length proportional to the population value. It customizes both axes: the y-axis removes its line and tick marks for a cleaner look, while the x-axis uses `d3.axisBottom` with a `.2s` tick formatter (e.g., “13.7M”) and spans the full chart height via negative tick sizes. The chart is rendered with D3 v5, loading data from a CSV, and uses `scaleLinear` and `scaleBand` for positioning.

AI-generated description
MIT Licensed

Similar vizzes