Skip to main content
100%

task9-Q1

✓ Published0🌍 Public
Mmythripopuri2001@gmail.com
Last edited Apr 21, 2024
Created on Apr 20, 2024
Forked from Task9-Q1

This interactive D3 pie chart illustrates the percentage of death cases attributed to organ failure, with each slice representing a specific organ and its proportion. The visualization uses the D3.js library (v3) to create a donut-style chart, dynamically loading data from a CSV file hosted on GitHub and rendering the slices with color-coded segments. Hovering over a slice displays a tooltip with the organ's label, and values are annotated directly on the chart. The legend, built with HTML elements, provides a key for the categorical colors, while the SVG arcs and centroid calculations are driven by D3's `d3.layout.pie` and `d3.svg.arc` APIs.

AI-generated description
MIT Licensed

Similar vizzes