🌍 Public
Viewing a saved revision (read-only)
8030f652ecf740abb00e3e58a345f9a3
ICE - 7 Pie Chart
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