Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

8030f652ecf740abb00e3e58a345f9a3

ICE - 7 Pie Chart

0 stars1🌍 Public
CCHANDU BHARGAVI
Last edited Mar 13, 2023
Created on Mar 10, 2023

This pie chart visualizes the distribution of applicant income among loan applicants, with each slice representing a unique ApplicantIncome value. The chart encodes the data using colored segments, and a legend maps each color to its corresponding income value and Loan_ID. The code loads data from a CSV file using D3’s `csv` function, then applies the `pie` and `arc` layout generators to compute slice geometry, with `scaleOrdinal` assigning colors. SVG rendering is used, and labels are formatted with `format`.

AI-generated description