Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Wwisam-ahmed
Last edited Jul 4, 2023
Created on Jul 4, 2023
Forked from Making a Bar Chart

This example visualizes the populations of the top ten most populous countries as a horizontal bar chart. It demonstrates how to customize chart axes, including removing default domain lines and tick marks, adding custom axis labels, and formatting tick values to display in billions. The chart uses D3's `select`, `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, `axisBottom`, and `format` APIs. Data is loaded from a CSV file and rendered as SVG rectangles.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes