activity6_question1.2
✓ Published1🌍 Public
This bar chart displays the 2010 populations of 20 countries, with each country's population represented by the length of a light green horizontal bar. The visualization uses D3 v7 to create a linear x-scale for population values and a banded y-scale for country names, with data loaded from a CSV file. Axis components format population tick labels using d3.format to show values in billions (e.g., "1.2B"), and the chart includes labeled axes for both population and country.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed