Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Iihatelearning
Last edited Feb 12, 2021
Created on Feb 12, 2021
Forked from Making a Bar Chart

This bar chart shows the ten most populous countries, ordered by population with a linear x-axis and a categorical y-axis. The visualization customizes both axes by removing their domain lines and tick marks, adding a text label for population, and formatting tick labels to abbreviate millions as “B”. Built with D3 v6, it loads data from a CSV, scales values by 1,000 for display, and uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render the SVG.

AI-generated description
MIT Licensed

Similar vizzes