Skip to main content
100%

Customizing axes

✓ Published2🌍 Public
BbeauMarko
Last edited Jan 13, 2021
Created on Jan 13, 2021
Forked from Bar chart

This bar chart displays the top 10 most populous countries, sorted by population, with customized axes for readability. The horizontal axis uses a linear scale with a tick format that abbreviates large numbers (e.g., converting billions with the `format` API), while the vertical axis uses a band scale for country names. The chart is rendered in SVG using d3.v6, loading data from a CSV file, with axes styled via `axisBottom` and `axisLeft`, and grid lines drawn through negative tick sizes.

AI-generated description
MIT Licensed

Similar vizzes