Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 6_Task1.2

Public visualization

Viewing a saved revision (read-only)

1fb7c24ff1e546d0aff9bc537bb8ed1d

Activity 6_Task1.2

0 stars1🌍 Public
DDeekshitha Annreddy
Last edited Oct 22, 2024
Created on Oct 22, 2024
Forked from Activity 6_Task 3

This example displays a horizontal bar chart comparing the 2010 population of twenty countries, sourced from a remote CSV file. It uses React to render an SVG visualization with D3’s scale functions, including `scaleBand` for the categorical country axis and `scaleLinear` for the continuous population axis. The chart includes custom axis components and tooltips that format population values in abbreviated SI units.

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.