Customizing Axis
✓ Published1🌍 Public
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 descriptionThis 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