Skip to main content
100%

Activity6_Task1 _1

✓ Published0🌍 Public
Nnissisharon61@gmail.com
Last edited Mar 30, 2025
Created on Mar 30, 2025

This horizontal bar chart displays the population of ten countries in the year 2000, sorted from highest to lowest. The chart uses d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis, rendering bars as SVG rectangles with a fixed coral fill. It draws axes with d3.axisBottom and d3.axisLeft, and the data is loaded from a CSV file using d3.csv. Labels for “Population - 2000” and “Countries” are added with SVG text elements.

AI-generated description

Activity6_Task1_Q1 Bar Chart

MIT Licensed

Similar vizzes