Skip to main content
100%

Fork of act6_Q1.1_11719493

✓ Published1🌍 Public
Ssravani1969@gmail.com
Last edited Mar 28, 2025
Created on Mar 28, 2025
Forked from act6_Q1.1_11719493

This bar chart displays the top 10 countries by population in the year 2000, sorted in descending order. It uses d3.csv to load the data, then d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis. The chart renders SVG rectangles with a light green fill via d3.selectAll and data joins. Axes are drawn using d3.axisBottom and d3.axisLeft, with a rotated y-axis label. The code is structured as separate ES modules for data loading, axes, and marks.

AI-generated description
MIT Licensed

Similar vizzes