Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
MMarrnj2
Last edited May 18, 2020
Created on May 18, 2020
Forked from Customizing Axes

This example shows a horizontal bar chart of population data for ten countries, with customized axes. The y-axis displays country names using a band scale, while the x-axis uses a linear scale with tick labels formatted in abbreviated units (e.g., “1.42B”) via d3.format and a custom replace function. The chart is rendered as SVG using d3-scale, d3-axis, and d3-selection, with data loaded from a CSV file and styled through external CSS.

AI-generated description
MIT Licensed

Similar vizzes