Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Customizing Axes

Public visualization

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.

Comments

Sign in to join the discussion.

MIT Licensed