Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Task9

Public visualization

Task9

0 stars1๐ŸŒ Public
Jjarethodges@gmail.com
Last edited Apr 24, 2024
Created on Apr 24, 2024
Forked from VIZPROJECT

This pie chart displays the proportional breakdown of a small, simulated fruit dataset, with categories like Apples, Oranges, Pears, and Bananas. Built with D3 version 7, the visualization uses `d3.pie` to compute arc segments and `d3.arc` to render each slice, with a color scale via `d3.scaleOrdinal`. An SVG-based legend with rectangles and text complements the chart, while slice labels (category and value) are placed using arc centroids. The data is entirely made-up, as noted in the code comments.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed