Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Tableau 10 Business Intelligence Cookbook

You're reading from   Tableau 10 Business Intelligence Cookbook Create powerful, effective visualizations with Tableau 10

Arrow left icon
Product type Paperback
Published in Nov 2016
Publisher Packt
ISBN-13 9781786465634
Length 476 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Donabel Santos Donabel Santos
Author Profile Icon Donabel Santos
Donabel Santos
Paul Banoub Paul Banoub
Author Profile Icon Paul Banoub
Paul Banoub
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Basic Charts FREE CHAPTER 2. Advanced Charts 3. Interactivity 4. Dashboards and Story Points 5. Maps and Geospatial Visualization 6. Analytics 7. Data Preparation A. Calculated Fields Primer B. Resources Index

Creating a donut chart


A donut chart, like a pie chart, shows part-to-whole relationships. And like a traditional donut (the sweet, edible kind), it has a hole in the middle.

In this recipe, we will create a donut chart that shows the breakdown of Hollywood's top movies from 2007-2011 by genre.

Getting ready

To follow this recipe, open B05527_02 – STARTER.twbx. Use the worksheet called Donut, and connect to the HollywoodMostProfitableStories data source.

How to do it...

The following are the steps to create a donut chart:

  1. Change the mark type to Pie in the Marks card.

  2. From Measures, drag Worldwide Gross Amount to Angle in the Marks card.

  3. From Dimensions, drag Genre to Color in the Marks card.

  4. To make the pie easier to view, set the chart to show as Entire View from the toolbar.

  5. Right-click on the Genre pill in the Color in the Marks card and select Sort….

  6. Sort the slices by the Sum of the Worldwide Gross Amount in Ascending order.

  7. From Dimensions, drag Genre to Label in the Marks card.

  8. From Measures...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime