Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_Task1

Public visualization

Viewing a saved revision (read-only)

7f4d45fa78094439b744e6b6045d8a14

Activity6_Task1

0 stars0🌍 Public
SShashankkodishala@my.unt.edu
Last edited Oct 18, 2024
Created on Oct 18, 2024
Forked from Hello VizHub

This bar chart displays the 2020 population of 30 countries, sourced from a CSV file, with countries on the y-axis and population on the x-axis. The visualization uses React components to render SVG marks, with d3.scaleBand and d3.scaleLinear for positioning, and d3.format for abbreviating tick labels (e.g., "B" for billions). The code leverages d3.csv for data loading and includes tooltips via SVG `<title>` elements.

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.