act_6
✓ Published1🌍 Public
A horizontal bar chart displays the populations of ten countries for the year 2000, sorted by country name. Each bar’s length encodes the numeric population value, with a tooltip showing the formatted value on hover. Built with React and D3 v5, the example uses `scaleBand` for the categorical y-axis and `scaleLinear` for the continuous x-axis. Data is loaded from a remote CSV via `d3.csv`, and axes and marks are rendered as SVG elements through custom React components.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed