Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ACTIVITY8_TASK1

Public visualization

Viewing a saved revision (read-only)

bf178873541145e8aba82b84b46affee

Fork of ACTIVITY8_TASK1

0 stars0🌍 Public
Rravularasesh3102@gmail.com
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from question.1.1

This example displays horizontal bars for the populations of 30 countries from a CSV file, using a green fill on a rotated horizontal bar chart. The SVG renders through a React component that imports utilities from D3. The code creates a band scale for the y-axis and a linear scale for the x-axis, with axes drawn from imported modules. Tooltips on each bar show the formatted population value, using D3's `format` function to present numbers in 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.