Skip to main content
100%

Customizing Axis

✓ Published1🌍 Public
Aash301
Last edited Feb 19, 2023
Created on Feb 19, 2023
Forked from Making a Bar Chart

This bar chart displays the population of the top 10 most populous countries, sourced from the UN World Population Prospects data. The chart customizes the y-axis by removing its domain line and tick lines, and the x-axis by applying a custom tick format that converts large numbers into billions with a 'B' suffix. The code uses D3 v7 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, with an SVG rendering approach.

AI-generated description

This bar chart shows population of top 10 most populous countries. World population prospects

MIT Licensed

Similar vizzes