Skip to main content
100%

Customizing Axes

✓ Published3🌍 Public
NNita
Last edited Sep 8, 2018
Created on Sep 5, 2018
Forked from Making a Bar Chart

This bar chart displays the populations of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects 2017. The visualization customizes both axes, removing default domain lines and ticks while adding formatted population labels using `d3.format` with a custom replacement of "G" with "B". The horizontal axis includes gridlines created via `tickSize`, and the chart renders as SVG with scales from `d3.scaleLinear` and `d3.scaleBand`, styled with steelblue bars and custom fonts.

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