Skip to main content
100%

act6_Q1.1_11719493

✓ Published1🌍 Public
Ssravani1969@gmail.com
Last edited Mar 28, 2025
Created on Mar 28, 2025

This visualization is a horizontal bar chart that displays the top 10 countries by population in the year 2000, sorted in descending order. The chart uses light green bars to represent population values, with a linear x-axis scaled to the maximum population and a banded y-axis for country names. The visualization is built with D3.js v7 and rendered as an SVG. It loads data from a remote CSV file using `d3.csv`, then processes it by mapping and sorting the records. The axes are created using `d3.axisBottom` and `d3.axisLeft`, with tick labels formatted using `d3.format`. The bars are drawn using SVG `rect` elements positioned according to the x and y scales.

AI-generated description
MIT Licensed

Similar vizzes