Task-8(Tutorial 1)
✓ Published0🌍 Public
This visualization displays a horizontal bar chart of population figures for 30 countries in 2020, using a custom dataset loaded from a GitHub-hosted CSV file. The React-based example renders with SVG, applying d3’s scaleBand for the categorical y-axis and scaleLinear for the numeric x-axis, with formatted tick labels via the d3.format function. The code demonstrates modular ES6 imports, including local axis and mark components, and applies a Poppins font with blue axis lines and green bars.
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