🌍 Public
Viewing a saved revision (read-only)
3b8db99c5330469eae9e7f37a0924c4c
Fork of ACTIVITY_6_TASK1
This visualization shows a horizontal bar chart of the 30 most populous countries in 2020, ranked in descending order, with each bar representing a country's population. The chart pulls data from a remote CSV file hosted on GitHub and loads it using `d3.csv`, then processes the values by converting the population field to a number. Rendered as SVG using D3 v7, the chart uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis, with custom components for the axes and marks. The bars are drawn as `<rect>` elements with a light green fill.
AI-generated description