Skip to main content
100%

Donuts

✓ Published0🌍 Public
Mmbostock
Last edited Feb 8, 2016
Created on Oct 5, 2010

Three nested donut charts show spending by department—Accounting, Sales, and Consulting—with each ring divided into salary, equipment, travel, and extra costs. The example uses the ProtoVis API within an HTML page, calling `pv.Scale.linear` for angular scales and a `pv.Panel` with `pv.Wedge` marks, sized by inner and outer radii. Labels are centered via an anchored `pv.Label`. Data comes from an inline JavaScript array with static numeric values.

AI-generated description
gpl-3.0 Licensed

Similar vizzes