Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Ddtdenver
Last edited Oct 27, 2019
Created on Oct 27, 2019
Forked from Making a bar chart

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart customizes its axes by removing default domain lines and tick marks, applying a custom tick format that abbreviates large numbers (e.g., converting billions to "B"), and adding descriptive axis labels. Built with d3.v5, it uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the SVG, with data loaded from a CSV file.

AI-generated description

This bar chart shows population of the to 10 most populous countries. The data comes from the year 2018 estimate in United Nations World Population Prospects 2017.

MIT Licensed

Similar vizzes