Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork fork of Making a Bar Chart

Public visualization

Fork fork of Making a Bar Chart

0 stars0🌍 Public
Rrishyossarian
Last edited Jan 7, 2022
Created on Jan 7, 2022
Forked from Making a Bar Chart

This bar chart displays the populations of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospects. The visualization is built with D3 v5, employing `d3.scaleLinear` for the horizontal axis and `d3.scaleBand` for the vertical axis, though axis rendering is not fully implemented. Rectangles are appended to an SVG container with fixed widths and heights, and data is loaded from a CSV file using `d3.csv`. The chart currently shows only the raw rect elements without proper scaling or axis labels.

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.

Comments

Sign in to join the discussion.

MIT Licensed