Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar graph of the data which has Top 15 countries

Public visualization

Viewing a saved revision (read-only)

5d8e7f17cac54a6facd5ed4ca58bd83e

Bar graph of the data which has Top 15 countries

0 stars0🌍 Public
AAishwarya Manjunath
Last edited Mar 7, 2022
Created on Mar 7, 2022

This bar graph displays the total population of the top 15 countries, with countries on the y-axis and population on the x-axis. The visualization uses D3 v7’s `select`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render SVG rectangles whose widths proportionally represent each country’s population in thousands. Data is loaded via D3’s `csv` parser from a local `data.csv` file, and styling is applied through a stylesheet that fills bars with steel blue.

AI-generated description