Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

aa152e162f39451b9f65d1acb6e42413

Customizing Axes

0 stars0🌍 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.