Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BHAVANI MANDULA TASK 9

Public visualization

BHAVANI MANDULA TASK 9

0 stars0🌍 Public
Bbhavanimandula@my.unt.edu
Last edited Apr 21, 2024
Created on Apr 21, 2024

This visualization displays an Iris dataset’s sepal length as a pie chart, using D3.js to transform CSV data into proportional arc segments. Each slice’s color corresponds to a species, with a legend mapping colors to species names. The code uses `d3.csv` to load the dataset, `d3.pie` and `d3.arc` for chart geometry, and `d3.scaleOrdinal` with `d3.schemeCategory10` for categorical coloring. SVG rendering creates the pie chart, while HTML divs form the legend.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed