Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Ppengpenghub
Last edited Mar 9, 2020
Created on Mar 8, 2020
Forked from Making a bar Chart

This visualization displays the population of the top 10 most populous countries as a horizontal bar chart, using D3 v5 with an SVG rendering. It customizes both axes by removing default domain lines, applying a tick format that converts values to abbreviations like "B" for billions, and adding a custom axis label. The chart uses `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the y-axis categories, and `d3.axisLeft` and `d3.axisBottom` to render ticks. Data is loaded from a CSV file, with population values scaled by 1000.

AI-generated description

this bar chart shows population of the top 10 most populous contries

MIT Licensed

Similar vizzes