Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

0e3762f912dc4fc0a3d14caa32096b3e

Customizing Axes

0 stars1🌍 Public
SSwathi Chittani
Last edited Aug 15, 2019
Created on Aug 15, 2019
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization demonstrates customized axes, including larger tick labels, styled tick lines, and a prominent title, building upon a basic bar chart example. The code uses D3 v3 with SVG rendering and animations, leveraging `d3.svg.axis()` to construct the axes and custom CSS classes to style them. Population data is loaded from a CSV file using `d3.csv`.

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.