Book Image

Data Analysis with STATA

Book Image

Data Analysis with STATA

Overview of this book

Table of Contents (16 chapters)
Data Analysis with Stata
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Pie charts


You can look at the given data in terms of pie charts as well. Pie charts are generally good for business presentations, showing the market share, and so on.

In this example, we will show you the disease prevalence of the New York state:

graph pie hospital_admission, over(disease) sort descending

The output of this is shown in the following figure: