Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Task9&10 Question1

Public visualization

Viewing a saved revision (read-only)

c7b3b37a647d4ae3a9647e59a1f678f7

Fork of Task9&10 Question1

0 stars1🌍 Public
MMallikarjun Narra
Last edited Apr 28, 2024
Created on Apr 26, 2024
Forked from Task9&10

This pie chart visualizes the distribution of iris flower species from a CSV dataset, showing the proportion of each species in the collection. The chart uses d3.pie and d3.arc to generate the pie slices, with an ordinal color scale from d3.schemeCategory10. A custom legend is built using HTML divs alongside the SVG chart, displaying color-coded species labels. The data is loaded and aggregated with d3.csv and d3.rollups, and the visualization is rendered as an SVG within a flex container.

AI-generated description

Pie Chart