Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7 Question 1

Public visualization

Viewing a saved revision (read-only)

70942568364645749abcb5a507678ce1

Activity 7 Question 1

0 stars0🌍 Public
Ccharanshiva769@gmail.com
Last edited Nov 6, 2024
Created on Nov 4, 2024
Forked from D3 Starter

This example shows a classic pie chart built with D3.js, where each slice represents a category from a CSV dataset loaded remotely via `d3.csv`. The chart uses an ordinal color scale, and a legend lists each category alongside its subcategory. The code generates SVG paths with the `d3.arc` and `d3.pie` generators, and includes placeholder axis labels despite being a pie chart. The visualization renders entirely in SVG, with the legend placed to the right of the chart and a white stroke separating each slice.

AI-generated description