Skip to main content
100%

Customizing Axis

✓ Published0🌍 Public
Eenzo-dante
Last edited Jul 11, 2019
Created on Jul 11, 2019
Forked from Making a bar chart

This bar chart displays the population of the top 10 most populous countries, with data from the World Population Prospect 2017. It uses d3.scaleLinear and d3.scaleBand to map population values and country names, while d3.axisLeft and d3.axisBottom render the axes with custom tick formatting that abbreviates large numbers. The SVG rendering includes gridlines via tickSize, removes axis domains and lines, and adds labels for the population axis and chart title, with all styling defined in external CSS.

AI-generated description

The bar chart show population of the top of 10 most popluois countries. The data comes from World Population Prospect 2017.

MIT Licensed

Similar vizzes