Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

visitors per day

Public visualization

Viewing a saved revision (read-only)

ce4d4b2e0be64ab4b3b043b9bfeb6d2b

visitors per day

0 stars0🌍 Public
Hhdesai7616
Last edited Mar 9, 2021
Created on Mar 9, 2021
Forked from Making a Bar Chart

This bar chart displays the app's top 10 most populous countries, with each bar showing estimated population from 2018 data accessed via a CSV file. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map numeric values and categorical labels, while `axisBottom` and `axisLeft` render customized axes with tick formatting that converts large numbers to abbreviated labels. Data is loaded asynchronously with `csv` from D3, and the SVG output is rendered without any additional framework.

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. It also demonstrates customization of D3 axes.