Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

7abea3f49f244de4ba6fd8702a8310f2

Customizing Axes

0 stars1🌍 Public
MMinwoo Pak
Last edited Jul 11, 2021
Created on Oct 30, 2019
Forked from Customizing Axes

This bar chart displays the top 10 most populous countries, using D3.js v5 to render an SVG visualization. The chart customizes axes by removing the y-axis line and ticks, and by formatting x-axis tick labels from raw numbers into a compact "B" (billion) suffix using a custom tick format function. Country labels appear on the y-axis, while population values are represented by horizontal bars scaled with `d3.scaleLinear`. Data is loaded from a CSV file and parsed for the visualization.

AI-generated description