Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

5323347e39c642e4903014bafc47333d

Customizing Axes

0 stars0🌍 Public
Yyycgrace
Last edited Dec 6, 2020
Created on Dec 6, 2020
Forked from Making a Bar Chart

This bar chart visualizes the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The chart uses D3’s `scaleLinear`, `scaleBand`, and axis functions to customize both axes, removing default domains and tick lines while adding grid lines, custom tick formatting, and axis labels. Data is loaded from a CSV file and rendered as SVG rectangles with styled text.

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.