Activity8-Task1
✓ Published0🌍 Public
This horizontal bar chart displays the population of ten countries in the year 2000, using a green bar for each nation with a tooltip showing the exact value. The visualization is built with React and D3 v5, employing a `scaleBand` for the y-axis and `scaleLinear` for the x-axis, with SVG rendering for all marks. Population data is loaded from a CSV file and formatted using D3’s `format` function, converting values from millions to billions with a custom tick label. Axis components are custom React functions that generate tick marks and labels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed