Skip to main content
100%

Task1_Act6

✓ Published1🌍 Public
JJean
Last edited Oct 17, 2024
Created on Oct 17, 2024
Forked from Activity 7

This bar chart displays population figures for ten countries in the year 2000, with countries listed along the vertical axis and horizontal bars representing their populations. The visualization uses React with D3 v5, employing d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis. Data is loaded from a CSV file hosted on GitHub, processed with d3.csv to multiply the raw values by 1000, and rendered as SVG rectangles using React components. The code includes custom tick formatting that converts d3's SI notation to billions, and axes are constructed through reusable React components.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes