Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Aabdelrhmanelbrolsy@yahoo.com
Last edited Sep 27, 2024
Created on Sep 27, 2024
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries using 2018 United Nations estimates from data.csv. It shows each country’s population as a horizontal bar, with a linear x-axis and banded y-axis. The example demonstrates D3 v5 axis customization via `axisLeft` and `axisBottom`, including custom tick formatting, labels, and styled tick lines. The visualization uses `scaleLinear`, `scaleBand`, and SVG rendering, with population values converted to thousands from the CSV data.

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