Activity_6 Task-1
✓ Published0🌍 Public
This bar chart displays the population of ten countries in the year 2000, with country names on the y-axis and population values on the x-axis. Built with React and D3 v5, it uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The SVG rendering includes custom `AxisBottom` and `AxisLeft` components for ticks and labels, while `Marks` renders the bars. Data is loaded asynchronously from a CSV file using D3’s `csv` function, and tick values are formatted using the `format` API.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed