Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Wwishcsdev
Last edited Mar 24, 2019
Created on Mar 24, 2019
Forked from Customizing Axes

This bar chart displays suicide counts by country, using data from 1979 to 2014 for Canada, France, and Germany. It customizes the D3 v5 axes by applying a linear scale to the quantitative x-axis and a band scale to the categorical y-axis. The code uses `axisBottom` and `axisLeft` to generate ticks, removes default domains and tick lines, and adds grid lines via `tickSize`. The x-axis labels use the `format` function for compact number display.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.

MIT Licensed

Similar vizzes