Skip to main content
100%

Task-8(Tutorial 1)

✓ Published0🌍 Public
Ttallurisaiteja96@gmail.com
Last edited Apr 10, 2024
Created on Apr 8, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes