🌍 Public
Viewing a saved revision (read-only)
bf7e0ae6c6aa4879968438b1a0a13d0a
ICE 7 Pie Chart
This visualization shows the average customer population by profession, displaying both the percentage of total customers and the average annual income for each profession. The chart uses a colorful pie with a legend that combines color-coded profession labels, population percentages, and income values, creating a dual-information display. The code bases its rendering on d3.pie and d3.arc for the pie segments, with d3.scaleOrdinal assigning the categorical colors. Data is loaded from a CSV file hosted on GitHub using d3.csv, and the total sample size of 1966 customers is hard-coded into the calculation for deriving percentages.
AI-generated description