🌍 Public
Viewing a saved revision (read-only)
831fa119222748a48097d4db1f547adc
Fork of ICE-7.2 - Vinil
This example shows a pie chart of category sales from a CSV file, with each slice labeled and a legend displaying category names and values. Using d3.pie and d3.arc, it generates SVG paths for the pie slices, colored via d3.scaleOrdinal with d3.schemeTableau10. Text labels are positioned with d3.arc centroids, and a legend is built by appending rectangles and text to the SVG.
AI-generated description