Skip to main content
100%

Fork of Activity_6_TASK1_DV_Q1

✓ Published5🌍 Public
HHema Tummapala
Last edited Oct 22, 2024
Created on Oct 22, 2024

This example shows a horizontal bar chart comparing the populations of ten countries in the year 2000, with country names on the y-axis and population values on the x-axis. The chart uses React with D3 v5 APIs, specifically `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and SVG `<rect>` elements for bars. Data is loaded via `d3.csv` from a GitHub-hosted CSV file, with population values converted from thousands and formatted using `d3.format` to display values in billions.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes