Skip to main content
100%

task1

✓ Published2🌍 Public
IIkram Mohammed
Last edited Oct 20, 2024
Created on Oct 20, 2024

This bar chart shows the population of 30 countries in 2020. Built with React and D3 v5, it uses `d3.scaleBand` and `d3.scaleLinear` to map country names and populations to SVG rectangles. Data is loaded from a CSV file via `d3.csv` and formatted using `d3.format`. Axes are custom-rendered, with hover tooltips displaying the formatted population values.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes