Skip to main content
100%

Fork of ACTIVITY_6_TASK1

✓ Published0🌍 Public
Ssravani1969@gmail.com
Last edited Mar 28, 2025
Created on Mar 27, 2025
Forked from 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
MIT Licensed

Similar vizzes