Que 1.1
✓ Published1🌍 Public
This example shows a horizontal bar chart of population data for ten countries in the year 2000, using a React component that renders SVG via D3 v5. The visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis, with axis components built from D3’s tick and scale methods. Data is loaded asynchronously as CSV from a GitHub repository via `d3.csv`, and each bar’s value is displayed as a tooltip using SVG `<title>` elements. The chart includes formatted tick labels using `d3.format` to abbreviate large numbers.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed