Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Ccentem
Last edited Jul 29, 2020
Created on Jul 29, 2020
Forked from Customizing Axes

This interactive bar chart ranks the top 10 most populous countries using 2018 United Nations population estimates, with values converted to thousands. The visualization demonstrates advanced axis customization in D3 v5, including tick formatting that abbreviates numbers (e.g., “1.41B”), gridlines extending across the plot, and removal of default axis domains. Using `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, the chart also features custom styling for tick labels, axis labels, and the title via CSS.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes