Skip to main content
100%

Costomizing Axes

✓ Published0🌍 Public
PPourmahmood
Last edited Nov 13, 2020
Created on Nov 10, 2020
Forked from Making a Barchart

This example displays a horizontal bar chart of the top 10 most populous countries, with population values labeled in billions using a custom tick format that converts “G” to “B.” The chart strips default axis lines and gridlines, using only tick marks and labels, while adding axis and title text. The visualization is built with D3 v5, using `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`, and renders as SVG. Data is loaded from a CSV file via `d3.csv`, with population values scaled by 1,000.

AI-generated description
MIT Licensed

Similar vizzes