Skip to main content
100%

Bar Chart using D3.js

✓ Published0🌍 Public
TTajallah-maryam
Last edited Mar 25, 2020
Created on Mar 25, 2020

This bar chart visualizes the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses D3.js v4 to render SVG rectangles, with each bar’s height proportional to the country’s population. The code maps data values through D3’s scale functions, and a `<title>` element provides tooltips for exact values. The chart is styled with a white background via CSS.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes