Skip to main content
100%

Customizing Axes

✓ Published3🌍 Public
LLucasj01UK
Last edited May 20, 2020
Created on May 18, 2020

This example visualizes the top 10 most populous countries in 2018 using a horizontal bar chart. It demonstrates customizing axes by removing default domain lines, adding tick lines across the chart, and formatting population labels with abbreviations. The visualization uses React with D3 v5, employing `scaleLinear` and `scaleBand` for positioning, `axisLeft` and `axisBottom` for axes, and `format` for tick labels. Data is loaded from a CSV file and rendered as SVG rectangles with steelblue fills.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes