Visualizing categorical data.
We are given the results of
a barbecue season grilling
preference survey.
Our variable is type of food.
We have one single
categorical variable,
and we will construct a
pie chart to represent it.
Pie charts are used to
represent parts of a whole,
and the slices represent
the counts or percentages
of each category.
Usually, they are
expressed as percentages,
counts are not that
useful to our audience,
or to business
managers, percentages
are much more useful.
So we will highlight our
data, and Insert, just
pie chart, and just simple.
Let's keep it simple
for easy interpretation,
and so that the graph
is not distorted.
So pie, OK, and it
is not complete,
we must do some
editing so that it
is presentable and
represents a good graph.
We do have some options.
Under this Design tab,
within the Chart Tools,
we can make it easy
on ourselves and have
the percentages
already completed,
we can choose from these
predesigned layouts.
There's this one, this one,
maybe this one, this one,
I also believe this one
looks like a nice one,
so let's select this.
OK, we still need
to do some editing.
Now also notice that these
percentages just contain
numerical values in
them, which makes it easy
when you are selecting
from these templates.
Had these already contained the
percentage symbols, et cetera,
it would have caused
some formatting
issues on your chart.
OK, so let's edit.
So we need our chart title,
so we can click on it,
and give it the
meaningful title,
let's continue with our
grilling preferences title.
Because this is a pie chart,
we don't have any axis,
so we don't have to label those.
Our slices, which
represent categories,
are labeled because we
selected a chart layout.
So each slice represents a
category, and all of the slices
combined make up 100%,
so it's representing
the parts of the whole.
So from this pie
chart we can see
that most of the respondents
preferred beef, chicken
was second, and seafood.
We can see not very many
selected fruit as a preference.
Vegetables weren't
very popular either.
So this is our pie chart.
And very quickly, depending
on which layout you choose,
you may find you need
to enlarge your chart.
This is a nice
size, so we're fine,
but I just would
like to show you.
You can select the
format, and then you
can adjust your charts
height and width here.
Again, the pie chart
represents parts of a whole,
and it is used to represent a
single categorical variable.
And typically, we want
our values expressed
as percentages, to be
meaningful to business
managers, and our
general audience.
