Activity 6
✓ Published0🌍 Public
This bar chart displays 2020 population estimates for 30 countries, sorted by country name along the vertical axis. The visualization uses React components to render SVG elements via D3 scales, with `scaleBand` positioning the categorical axis and `scaleLinear` mapping population values to bar widths. D3’s `csv` loader fetches the dataset, while `format` abbreviates tick labels (e.g., converting billions to “B”). Tooltips appear on hover through native SVG `title` elements, and the styling uses light green bars with blue axis ticks.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed