🌍 Public
Viewing a saved revision (read-only)
aff82d66d5d84b71b893db0712bd9eb1
Fork of Fork of ICE-7 pie chart
This pie chart visualizes the number of car units sold, categorizing the data by class name and assigning each segment a distinct color from a predefined palette. The chart renders as an SVG with arcs generated using d3.arc and positions data through d3.pie, while d3.scaleOrdinal maps colors to categories. A legend on the right displays each class with its corresponding color and formatted value using d3.format. Data is loaded asynchronously from a CSV file via d3.csv.
AI-generated description