Skip to main content
100%

Customizing Axis

✓ Published1🌍 Public
Lliyaxuanliyaxuan
Last edited Nov 24, 2020
Created on Nov 24, 2020
Forked from Customizing Axis

This bar chart shows the population of the top 10 most populous countries from the 2018 estimate in World Population Prospects 2017. It demonstrates how to customize both axes by removing their domain lines, adding grid lines with large tick marks, and formatting population labels with a custom function that uses `d3.format` to abbreviate values (e.g., "1.42B"). The visualization uses D3 v6 with an SVG rendering, computed linear and point scales for axes, and styled tick text and lines via CSS.

AI-generated description

This bar charts shows population of the top 10 most populous countries. the data comes from the year 2018 estimate in World Population Prospects 2017.

MIT Licensed

Similar vizzes