Skip to main content
100%

Activity 6_Task 1_Q1.1

✓ Published1🌍 Public
Cchowdaryhemanth14@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025
Forked from Activity 6_Task 1

This bar chart displays the population of the top 10 countries in the year 2000, sorted in descending order. It uses D3 v7 with an SVG rendering approach, employing `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis. The data is loaded asynchronously from a remote CSV file using `d3.csv`, then filtered and sorted. Axes are generated with `d3.axisBottom` and `d3.axisLeft`, while the bars are drawn as SVG rectangles.

AI-generated description
MIT Licensed

Similar vizzes