Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6(Task1)

Public visualization

Viewing a saved revision (read-only)

a323a0de1f8e4be3ac45a28dca32dd21

Activity-6(Task1)

0 stars0🌍 Public
Vvandanakosuri@my.unt.edu
Last edited Apr 14, 2024
Created on Apr 14, 2024
Forked from Activity-6

This example visualizes the 2010 populations of the top 20 countries as a horizontal bar chart, using a linear scale for population and a band scale for country names. The chart is rendered as an SVG via React, with D3 v5 handling the data loading, scaling, and tick formatting. Data is fetched from a CSV file, and hover tooltips display each bar’s value, formatted with D3’s `format` function.

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.