Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Wwishcsdev
Last edited Mar 24, 2019
Created on Mar 24, 2019
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries from the 2018 United Nations World Population Prospects estimate, with a titled axis label and custom tick formatting that abbreviates large numbers (e.g., “G” for billion) using d3.format. The visualization uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scales, and d3.axisLeft and d3.axisBottom for axes, while removing default axis lines and adding custom tick sizes and labels. The chart is rendered as SVG, with steelblue bars and sans-serif text styled via CSS.

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.

MIT Licensed

Similar vizzes