Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-7_Aparna

Public visualization

Viewing a saved revision (read-only)

6b98daf0e8e842e7bb070aa50a74c9cf

Activity-7_Aparna

0 stars0🌍 Public
Aaparnachalumuri@gmail.com
Last edited Nov 5, 2024
Created on Nov 5, 2024

A pie chart visualizes the percentage of sales contributed by each of five regions. The chart displays slices with percentage labels and a legend with color-coded region names and values. It uses D3 v5’s `pie`, `arc`, and `scaleOrdinal` to generate the chart from CSV data, fetched from a GitHub gist. The SVG rendering places the pie at the center, with the legend positioned to the right.

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.