Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity7_Q1

Public visualization

Viewing a saved revision (read-only)

3ce39b01f0b64c6293acc269e909d493

activity7_Q1

0 stars0🌍 Public
Vvarunreddy.gudigopuram@gmail.com
Last edited Oct 31, 2024
Created on Oct 31, 2024
Forked from Hello VizHub

This pie chart displays the distribution of animal conservation statuses, using counts from a CSV dataset to show proportional slices for each category. The visualization is rendered as an SVG using D3 v6, with the `d3.pie` and `d3.arc` functions generating the pie geometry, while a `d3.scaleOrdinal` with `d3.schemeCategory10` assigns colors to statuses. Labels on each slice include the status name and count, and a separate legend with colored rectangles and text appears to the right, positioned via manual SVG transforms.

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.