Skip to main content
100%

Bar graph of the data which has Top 15 countries

✓ Published0🌍 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
MIT Licensed

Similar vizzes