Activity6_question1.1
✓ Published0🌍 Public
This horizontal bar chart displays the top 10 most populous countries in 2000, with light green bars sorted by population and labeled along a formatted x-axis that converts values to billions. The visualization is built with D3 v7, using a linear scale for population (x-axis) and a band scale for country names (y-axis). The code imports separate modules for the axes and marks, applies a `.2s` tick format that replaces "M" with "B", and loads CSV data from a GitHub repository via `d3.csv`, rendering the final output as SVG.
AI-generated descriptionMIT Licensed