Skip to main content
Public

Share visualization

Loading preview…

ICE - 7 Pie Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE - 7 Pie Chart

1
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

Comments

Sign in to join the discussion.

MIT Licensed