Skip to main content
100%

Fork of ICE-7.2 - Vinil

✓ Published0🌍 Public
VVinil Karmilla
Last edited Mar 30, 2026
Created on Mar 30, 2026
Forked from ICE-7 - 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
MIT Licensed

Similar vizzes