Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
LLonwabo11
Last edited May 14, 2019
Created on May 14, 2019
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries in 2018, using population estimates from the United Nations World Population Prospects. The visualization demonstrates customized D3 axes, with the y-axis showing population values on a linear scale and the x-axis using a time scale for timestamps. The code imports specific D3 modules including `select`, `csv`, `scaleLinear`, `scaleTime`, `axisLeft`, and `axisBottom`. Data is loaded from a CSV file containing country and population columns, rendered as SVG rectangles with styled tick marks and axis labels.

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