Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
VVeena Muralidharan
Last edited Aug 21, 2019
Created on Aug 21, 2019
Forked from Making a bar chart

This bar chart displays the top 10 most populous countries, with a horizontal layout and customized axes. The y-axis removes its domain and tick lines, while the x-axis uses a custom tick format that abbreviates large numbers and replaces 'G' with 'B' for billions. The chart is rendered with SVG using D3 v5, loading population data from a CSV file. The code uses `scaleLinear`, `scaleBand`, `axisBottom`, `axisLeft`, and `format` to create and customize the visualization.

AI-generated description
MIT Licensed

Similar vizzes