Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
AAnthony-coding
Last edited Nov 15, 2019
Created on Nov 14, 2019
Forked from Cars Report

This bar chart displays the top 10 most populous countries using 2018 United Nations estimates. It uses d3.scaleBand and d3.scaleLinear to map countries and populations, with d3.axisLeft and d3.axisBottom for the axes. The code customizes the x-axis tick format with d3.format, removing axis domain lines and adding a custom population label. A title clarifies the chart’s purpose, and data is loaded from a CSV file.

AI-generated description

This bar chart show population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospect 2017.

MIT Licensed

Similar vizzes