🌍 Public
Viewing a saved revision (read-only)
f4f9aed45b504382aa73d8cf102e52a3
Question6-Activity6_Task3
This example displays a bar chart of the ten most populous countries for the year 2000, using data from an external CSV file. The visualization maps countries to a categorical x-axis and population values to a linear y-axis, with each bar colored using the `schemeTableau10` palette. A legend identifies each color with its corresponding country. The implementation uses D3 v7 APIs including `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` to construct the chart and axes.
AI-generated description