Skip to main content
100%

Cuisine Pie Chart - Pseudo Viz

✓ Published0🌍 Public
Jjjlaber
Last edited Feb 13, 2023
Created on Feb 4, 2023
Forked from Marks and Channels

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 description
MIT Licensed

Similar vizzes