Skip to main content
100%

Customizing Axes - 072119

✓ Published1🌍 Public
Sshallowater
Last edited Jul 22, 2019
Created on Jul 21, 2019

A horizontal bar chart displays the populations of the top ten most populous countries, with values scaled in thousands and formatted with custom ticks (e.g., "1.41B" for China). It uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for positioning, and d3.axisBottom and d3.axisLeft for axes. The chart removes default axis domains, adds gridlines via tickSize, and includes custom axis and title labels. Data is rendered as SVG rectangles with steelblue fill.

AI-generated description
MIT Licensed

Similar vizzes