Skip to main content
100%

Customizing Axes

✓ Published0🌍 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.

MIT Licensed

Similar vizzes