🌍 Public
Viewing a saved revision (read-only)
f712bf98344844ce80b2af835653b97e
harsha actvity6que1
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.