Cuisine Pie Chart - Pseudo Viz
✓ Published0🌍 Public
This example transforms a five-cuisine order dataset into a pseudo pie chart. It uses `d3.pie` and `d3.arc` to compute and draw the chart’s arcs, with `d3.scaleOrdinal` assigning a categorical color scale to each cuisine. The visualization is rendered as an SVG group centered within a 900x500 canvas. While the code imports various other chart primitives (e.g., circle, rect, symbol) from separate modules, only the pie chart function is executed, producing a static, labeled donut-like chart without interactivity.
AI-generated descriptionMIT Licensed