Skip to main content
100%

Activity 7 Question 1

✓ Published0🌍 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
MIT Licensed

Similar vizzes