harsha actvity6que1
✓ Published1🌍 Public
This bar chart displays the population of ten countries for the year 2000, with countries listed on the y-axis and a formatted horizontal population scale. Built with React and SVG, it uses D3's `scaleBand` for the categorical y-axis and `scaleLinear` for the quantitative x-axis. The `Marks` component renders each bar with a tooltip, while `AxisBottom` and `AxisLeft` generate the tick marks and labels. Population data is loaded from a remote CSV file.
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