Fork of Activity_6_TASK1_DV_Q1
✓ Published5🌍 Public
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 descriptionA demonstration of how to start using D3 version 6.
MIT Licensed