Fork of Activity_6 Task1
✓ Published0🌍 Public
This example displays a horizontal bar chart of population data for the year 2000, showing the top ten entries from a CSV dataset. The React-based visualization uses D3 v5 scale functions, with `csv` for data loading and custom `AxisLeft` and `AxisBottom` components for rendering ticks. Bars are drawn as `rect` elements sized by the x-scale, and tooltips reveal formatted values via SVG `<title>` elements. The code imports data from a GitHub-hosted CSV and applies a styling with pastel green fills and blue grid lines.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed