Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

edd016257c78483a9ab31b91bc0c4c8f

Customizing Axes

0 stars0🌍 Public
Bbilalzaghloul
Last edited Jun 27, 2020
Created on Jun 27, 2020
Forked from Customizing Axes

This bar chart displays the population of the ten most populous countries, with populations formatted in billions using a custom tick formatter. The visualization uses `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numeric x-axis. It customizes both axes by removing domain lines, adding a horizontal grid via `tickSize(-innerHeight)`, and appending axis labels. The chart is rendered with SVG elements and loads data from a CSV file using `d3.csv`.

AI-generated description

A bare minimum HTML page.

See also React Starter.