Skip to main content
100%

activity 6_Task 1

✓ Published1🌍 Public
Vvemulasai306@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Hello VizHub

This example displays a horizontal bar chart of the 2020 populations for 30 countries, using a green fill for each bar. The chart is rendered as an SVG via React, with D3 v5 handling the data loading through `csv` and the linear and band scales for the axes. Axis ticks are generated manually with custom components, and D3's `format` function converts large numbers into abbreviated labels like "B" for billions.

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