Activity 8 Q1.1
✓ Published2🌍 Public
This example shows a horizontal bar chart comparing the population of 30 countries in the year 2000. It uses React to render SVG elements, with D3 v5’s `scaleBand` and `scaleLinear` defining the chart’s scales. The code loads CSV data from a GitHub gist, formats the population values, and displays them with axes rendered by custom `AxisBottom` and `AxisLeft` components, each with tick marks and labels.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed