Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Kkwanwoo100
Last edited Jun 30, 2020
Created on Jun 30, 2020
Forked from Customizing Axes

This visualization displays the top 10 most populous countries as a bar chart, using 2018 population estimates from the United Nations. It focuses on customizing D3 axes by removing domain lines, adjusting tick formatting to abbreviate large numbers (e.g., converting billions to "B"), and styling tick labels, axis labels, and the title with custom fonts and colors. The chart uses `d3.csv` to load data, `scaleLinear` and `scaleBand` for positioning, and `axisBottom` and `axisLeft` with customized tick sizes and formats.

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