Skip to main content
100%

Activity6-Question1.2

✓ Published0🌍 Public
Mmeenam1106@gmail.com
Last edited Apr 4, 2024
Created on Apr 4, 2024

This bar chart displays the populations of 20 countries in 2020, sorted alphabetically on the y-axis with a linear population scale on the x-axis. Built with React and D3 v5, it uses `d3.csv` to load data from a GitHub-hosted CSV, `d3.scaleBand` for the categorical axis, and `d3.scaleLinear` with `d3.max` for the quantitative axis. SVG rectangles render the bars, with axis ticks and labels drawn via custom components and `d3.format` for tick labels.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes