Fork of act6_Q1.1_11719493
✓ Published1🌍 Public
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 descriptionMIT Licensed