Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

Viewing a saved revision (read-only)

11fe49629cf14cd0bd0e0c9d47af92a9

Customizing Axes

0 stars0🌍 Public
FFredVomJupiter
Last edited Apr 8, 2020
Created on Apr 8, 2020
Forked from Customizing Axes

This bar chart displays the populations of the top 10 most populous countries, based on 2008 estimates from the UN World Population Prospects 2017. It uses D3 v5 with `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom` to render an SVG. Custom margins position an inner group, with axis labels and bars drawn via `g.append('rect')`. Data is loaded from a CSV file and preprocessed by multiplying population values by 1000.

AI-generated description

This bar chart shows population of the top 10 most populous countries. These data comes from the year 2008 estimate in UN World Population Prospects 2017.