Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task 1_Q1.1

Public visualization

Viewing a saved revision (read-only)

6922e369b05b49f98047571f91e96e90

Activity 6_Task 1_Q1.1

0 stars1🌍 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