Task-8(Question-1)
✓ Published0🌍 Public
This bar chart displays the populations of ten countries for the year 2000, with countries listed along the vertical axis and population values on the horizontal axis. The chart uses React components to render SVG elements, with d3.scaleBand and d3.scaleLinear handling the spatial mappings. Data is loaded asynchronously from a CSV file via d3.csv, with each bar's length proportional to the population value and tooltips revealing the formatted figures.
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