Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

assig_2-dinesh

Public visualization

Viewing a saved revision (read-only)

fadfcf6a925443d8a9132d114dc794c1

assig_2-dinesh

0 stars0🌍 Public
Llingaladineshteja23@gmail.com
Last edited Apr 13, 2024
Created on Apr 13, 2024

This pie chart visualizes the distribution of diabetes cases across five age ranges (0-20, 21-40, 41-60, 61-80, and 81+). The code fetches a CSV file from a GitHub repository, parses it with `d3.csvParse`, and counts occurrences per age group. It renders the chart using D3.v7's `d3.pie` layout and `d3.arc` generator within an SVG, with a categorical color scale (`d3.scaleOrdinal` with `d3.schemeCategory10`). A legend and labels for each segment are added dynamically via D3 selection and append methods.

AI-generated description

CSCE 5320.002 Scientific Data Visualization (ICE-7)

Part-1 REUSABLE SCATTER PLOT

  • Pavan Krishna Yarlagadda (11600263)