Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of activity7jaswanthquestion1

Public visualization

Viewing a saved revision (read-only)

ca11a6261aa4488182d5011224430533

Fork of Fork of activity7jaswanthquestion1

0 stars0🌍 Public
JJaswanthkota@my.unt.edu
Last edited Nov 7, 2024
Created on Nov 4, 2024

A pie chart depicts the rate of deaths across states in the United States. The chart uses D3’s `pie` function to compute arc segments, with colors assigned via `scaleOrdinal`. Each segment displays an SVG `path`, and a legend with colored rectangles and text pairs is rendered on the side. The data is loaded as CSV from a GitHub repository, with the `Deaths` values parsed as numbers and used to size the arcs.

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.