Skip to main content
100%

Customizing Axes - 072119 12:06 am

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

This bar chart displays the populations of the top 10 most populous countries, using a horizontal layout with custom axes and tick formatting. The chart renders population values in billions by converting the raw data with d3.csv and d3.format, while removing default axis lines and ticks. The visualization uses d3.scaleLinear, d3.scaleBand, d3.axisLeft, and d3.axisBottom to position bars and labels within an SVG, with a title and axis label added via appended text elements.

AI-generated description
MIT Licensed

Similar vizzes