Skip to main content
100%

Fork of Activity 6_Task 1

✓ Published0🌍 Public
Nnavyabade05@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Activity 6_Taskl 1

This bar chart displays the 2020 population for the top 30 countries, sorted along a horizontal axis with population values and a vertical axis listing country names. The visualization uses D3 v7 to load CSV data, create a linear x-scale and band y-scale, and render light-green SVG rectangles. Axis components are built with `d3.axisBottom` and `d3.axisLeft`, with tick formatting that converts values to a concise billion/million notation (e.g., "1.2B"). The chart is generated entirely in SVG, with margins and scaling calculated in JavaScript.

AI-generated description
MIT Licensed

Similar vizzes