TapCub is live — analytics, insights and live chat, free on one platform
Analytics

Donut Chart vs Pie and Bar: Showing Device Share

A device split shown as a donut and as numbers: what the hole changes, where a bar chart wins, how many slices to allow and how to make the ring accessible.

Oliver Reed Published Dec 3, 2026 11 min read Analytics
Sample data: a museum ticket site; the same split drawn as bars, where the two small categories stay readable.Sample data

A donut chart shows parts of a whole as segments of a ring. It suits device share when there are about four categories and one clearly leads. Use a sorted bar chart or table when values are close, categories are many or you compare periods, and give every ring direct values and a text alternative.

What you will learn

  • Research found donuts read about as accurately as pies, so choose between them on layout
  • Keep to about four slices; UK guidance caps pies at five and ONS advises no more than six
  • Period changes vanish in rings: a 1.9-point gain is under 7 degrees of arc

Donut, pie or bar: which should show device share?

A donut chart is a pie chart with the center removed: each segment of the ring shows one part of a whole. It works when there are only a few parts, they add up to a meaningful total and the reader needs a rough sense of share. A bar chart works better when values are close, when there are many categories or when you compare periods.

SituationUseWhy
Three or four parts, one clearly dominantDonut or pieShare of a whole is visible at once
Parts within a few points of each otherSorted bar chartEnds on a common baseline separate close values
Five or more categoriesBar chartThin slices cannot be labeled or compared
This month against last monthTable or paired barsTwo rings are compared segment by segment, from memory
Answers that can total more than the wholeBar chartA ring implies parts that add up
One part of one whole, such as "mobile is 62%"A large number, or a two-segment donutThe sentence is the chart

What does the sample device data look like?

Sample data: 30 days of sessions on a city museum's ticket site, with the previous 30 days for comparison.

DeviceSessionsShareAngle in a donutPrevious sessionsPrevious share
Mobile6,24062.4%224.6°5,89060.5%
Desktop2,88028.8%103.7°3,00030.8%
Tablet5765.8%20.7°5605.7%
Other or unknown3043.0%10.9°2903.0%
Total10,000100%360°9,740100%

This is close to a good donut case: four categories, one of them far larger than the rest. "Most ticket traffic is on phones" is readable in a second. Two things already strain it. Tablet and other are thin slivers that need labels outside the ring, and the change from last period is nearly invisible.

Keep the "other or unknown" slice. Dropping it makes the remaining parts look as if they were the whole; UK government chart guidance says categories can be combined but should not be removed from the whole.

Does the hole make a donut harder to read than a pie?

The intuitive worry is that a donut removes the central angle, which seems to be what a pie is read by. Research suggests the angle matters less than that. Skau and Kosara's 2016 study, published in Computer Graphics Forum, varied the inner radius from a filled pie to a thin outline. Its abstract reports that angle was the least important visual cue for both charts and that donuts were read as accurately as traditional pies.

So choose between pie and donut on layout, not accuracy:

  • A donut leaves a place for the total in the middle ("10,000 sessions"), which stops readers from taking shares for counts.
  • A pie gives thin slices a little more area.
  • A very thin ring makes adjacent colors harder to tell apart, especially at small sizes.

Neither is a precise instrument. Heer and Bostock's replication of classic perception experiments found angle judgments significantly worse than judgments of position, which is what bar charts rely on.

Where does a bar chart beat the donut?

Look at the change in the sample. Mobile rose from 60.5% to 62.4%, a gain of 1.9 points. In a donut that is 6.9° more arc, about 10 pixels on a ring of 80-pixel radius, on a segment more than 300 pixels long that also starts and ends in a slightly different place. Placed side by side, the two rings look identical.

Desktop fell 2.0 points and 120 sessions. Tablet's share did not move (5.7% to 5.8%) although its sessions rose by 16. A table says all of this exactly:

DeviceChange in sessionsChange in share (points)
Mobile+350 (+5.9%)+1.9
Desktop−120 (−4.0%)−2.0
Tablet+16 (+2.9%)0.0
Other or unknown+14 (+4.8%)+0.1

If the visual matters, draw paired horizontal bars, one pair per device, sorted by current share, with both starting at zero. The reader compares two ends that sit next to each other. The broader choice between trend and comparison charts for traffic is in website traffic graphs.

app.tapcub.com

Device share of 10,000 sessions

last 30 days
Mobile62.4%
Desktop28.8%
Tablet5.8%
Other or unknown3.0%
Sample data
Sample data: a museum ticket site; the same split drawn as bars, where the two small categories stay readable.

How many slices should a donut chart have?

Public sector guidance is a useful anchor because it was written for general readers:

  • The UK Government Analysis Function says pie charts should only be used with five categories or fewer, and suggests value labels on pies of four or fewer.
  • The Office for National Statistics service manual advises three or four categories ideally and avoiding more than six; small ones can be merged into "other".

Both are written about pies, and the ONS guidance treats doughnut charts the same way. A working rule that satisfies both:

  1. Up to four slices, including "other".
  2. One slice clearly largest.
  3. No two slices you need to rank within about five points of each other.
  4. Fails any of these? Use a sorted bar chart.

The five-point threshold is our rule of thumb, not part of either guide. Browser share with eight browsers fails rule 1 immediately. The sample's device split passes all three, since the two smallest (5.8% and 3.0%) rarely need ranking.

CheckPassFail
Number of slicesFour or fewer, including otherFive or more
Dominant partOne clearly largestAll similar
Close values to rankNone within about 5 pointsTwo near-equal slices
Comparison over timeSingle periodThis period against last
WholeParts add to the totalOverlapping answers or parts removed

One fail is enough to switch to a sorted bar chart or table. The 5-point threshold is a rule of thumb.

How do you make a donut chart accessible?

A ring that depends on color and shape excludes readers who cannot see either. Check these:

RequirementWhat to doSource
Color is not the only cueLabel each segment with name and value, or use a legend that repeats valuesWCAG 2.2, 1.4.1 Use of Color
Segments can be told apartAt least 3:1 contrast against adjacent colors, or a gap or border; or labels that carry the same informationWCAG 2.2, 1.4.11 Non-text Contrast
A text alternativeA short description naming the chart, plus a longer one with the values and the main pointW3C images tutorial, complex images
The data is reachableA table next to the chart or linked from itOur recommendation

A pattern that works in HTML:

<figure>
  <img src="devices.svg"
       alt="Donut chart of ticket-site sessions by device; values in the table below">
  <figcaption>
    Phones brought 62.4% of 10,000 sessions in the last 30 days.
    <table>
      <tr><th>Device</th><th>Sessions</th><th>Share</th></tr>
      <tr><td>Mobile</td><td>6,240</td><td>62.4%</td></tr>
      <tr><td>Desktop</td><td>2,880</td><td>28.8%</td></tr>
      <tr><td>Tablet</td><td>576</td><td>5.8%</td></tr>
      <tr><td>Other or unknown</td><td>304</td><td>3.0%</td></tr>
    </table>
  </figcaption>
</figure>

The caption states the conclusion, so a reader who skips the picture still gets it.

Which design details change how a donut reads?

  • Start at 12 o'clock and go clockwise, largest first, with "other" last, as the ONS guidance orders pie segments.
  • Put the total and unit in the center: sessions, visitors or orders. Device share by visitors and by sessions are different charts.
  • Label directly beside segments; use leader lines for slivers.
  • Keep color meaning stable across reports, so mobile is the same hue every month.
  • Skip 3D and exploded slices, which distort sizes.
  • Check for bots. A burst of automated traffic can arrive labeled as desktop and quietly change the split.

Device share is a means, not the end. If phones bring 62.4% of sessions, the next number is the ticket purchase rate on phones against desktop. A dashboard that puts both side by side is more useful than a bigger ring; see dashboard design principles.

Where do you see device share in TapCub?

The museum's question, "what are visitors using, and did it change?", is covered by the audience report.

TapCub device types card: a donut with the unique visitor total in the center and a list of desktop, mobile and tablet with counts and shares
Demo data: the device types card pairs a ring with exact counts and shares.
  1. Open Web analytics › Audience and look at device type. The demo screenshot below shows it as a ring with the unique-visitor total in the middle and a list with counts and shares under it. Read exact values from the list.
  2. For the change, read the list for this period, switch the date range to the previous one and put both sets of numbers in a table. To see how much each device contributed to a traffic change, open All-platform analytics › Operations › AI Assistant, choose Why did it change and pick device as the dimension.
  3. To see whether mobile visitors reach different pages, go to Web analytics › Overview, switch the devices card to device type and click Mobile; the page list on the same screen is then filtered to it. Switching to another web report drops every filter except hostname.
  4. Keep automated traffic out of the split: new projects identify bots and count them separately under Web analytics › Bots.
  5. For apps, App analytics › Quality & attribution › Devices shows a ring of the top 8 values by active users, by model, brand, OS version and other fields, with a table of up to 50 rows. Eight segments is past the four-slice rule above, so use the table for anything you need to compare.

Other chart types and when to use them are in data visualization.

FAQ

What is the difference between a donut chart and a pie chart?

A donut chart is a pie chart with a hole in the middle. Both show parts of a whole as segments. The donut leaves room for a total in the center. Research by Skau and Kosara found the two read with similar accuracy.

When should you not use a donut chart?

Avoid it when there are many categories, when values are close, when the parts do not add up to a meaningful total, when responses can overlap, or when you compare periods or groups. A sorted bar chart or table handles these better.

How many categories can a donut chart show?

Aim for four or fewer. UK government guidance caps pie charts at five categories, and the Office for National Statistics suggests three or four and no more than six. Merge small ones into an "other" slice rather than deleting them.

Are donut charts accessible?

They can be, with direct labels or values, sufficient contrast or clear separation between segments, a text alternative that states the numbers and a data table. A ring explained only by a color legend leaves out many readers.

What should go in the center of a donut chart?

The total and its unit, such as 10,000 sessions, or the single share the chart is about. Keep it to one number and a short label. The center should not repeat a title or hold decoration.

Sources

Filed underAnalytics

Was this article helpful?

We use your answers to fix and expand this page.

Oliver Reed

Product Experience Specialist

Explores usability, user journeys, and feature adoption through practical examples of onboarding and everyday product use.

See device share with the numbers beside it

Audience reports with device, browser and country breakdowns, filters you can click through and bots counted separately.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics