Skip to main content
100%

Customizing Axes

✓ Published2🌍 Public
RRiccardo Pressiani
Last edited Oct 1, 2019
Created on Oct 1, 2019
Forked from Customizing Axes

This example visualizes the population of the top 10 most populous countries as circles on a bar-chart-like layout. It customizes both axes with gridlines and labels, removing domain lines and formatting the x-axis tick labels using d3.format to convert values to billions. The chart uses d3.scaleLinear and d3.scalePoint for positioning, with d3.axisBottom and d3.axisLeft to render ticks. Data is loaded from a CSV file and rendered as SVG circles.

AI-generated description
MIT Licensed

Similar vizzes