🌍 Public
Viewing a saved revision (read-only)
e59c237fcbb54d3289b71225d9f4e1d5
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