🌍 Public
Viewing a saved revision (read-only)
17e75af7b0484d9eb85e31774cd19a23
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