Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing axes

Public visualization

Viewing a saved revision (read-only)

254215d50c9a430bbaaa35841868bc41

Customizing axes

0 stars1🌍 Public
AAaron Goebel
Last edited Apr 11, 2020
Created on Apr 11, 2020
Forked from Making a bar chart

This bar chart displays the populations of the top ten most populous countries, with data from the World Population Prospects 2017. The chart uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render an SVG visualization. The horizontal axis is customized with a formatter that converts raw numbers to abbreviated values using `format('.3s')`, and grid lines are removed from both axes by filtering out the `.domain` and `.tick line` elements. Population data is loaded from a CSV file and multiplied by 1000 before rendering.

AI-generated description

This bar chart shows population of the top 10 most populous contries. World popilation Prospects 201