Skip to main content
100%

Going deep into 'axes'

✓ Published1🌍 Public
Ggabrielribeirob
Last edited Sep 1, 2021
Created on Sep 1, 2021
Forked from Making a BarChart

This horizontal bar chart displays the population of the top 10 most populous countries, using data from a CSV file. The visualization demonstrates customizing D3 axes, including removing domain lines, adding tick marks that extend across the chart, and formatting tick labels with the `format` API to abbreviate values. The chart uses `d3.scaleLinear`, `d3.scaleBand`, `axisLeft`, and `axisBottom` to construct the layout, with an SVG rendering and custom styling for the title, axis labels, and rectangular bars.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes