A categorical variable (also known as a nominal variable) has two or more categories.
Here’s the twist.
There is no explicit ordering in the categories.
A binary data point such as a yes/no question is a categorical value with two variables: no and yes.
Hair color is a practical example of categorical data. And this is because it has several categories, such as brunette, red, blonde, brown, gray, etc.).
There’s no agreed way to order the hair color from highest to lowest.
So, how do you analyze categorical data?
Well, one of the most straightforward analyses you can undertake is data visualization.
Some of the best graphs for categorical data include:
Well, Microsoft Excel has a sizable library of charts and graphs.
But it lacks ready-made and insightful charts for visualizing categorical data.
So, how can you overcome this challenge?
Download and install a particular third-party application (add-in) if your goal is to get ready-to-use and easy-to-interpret graphs for visualizing categorical data.
Keep reading to discover more about this add-in.
In this blog, you’ll learn:
Before jumping into the blog’s core, we’ll address the following question: what is categorical data analysis?
Categorical data can easily be divided into groups. And some examples of categorical variables include age group, educational level, race, sex, etc.
Categorical data analysis involves extracting insights into categorical data sets. There’re multiple ways of analyzing this data type.
But we recommend data visualization because it’s straightforward, especially if you have suitable charts.
Check out the example below.
Imagine you’ve conducted a survey that involved about 20 respondents. Let’s assume the details you asked for are hair and eye color.
The table below represents categorical data.
| Eye Color | ||||
| Hair Color | Blue | Green | Brown | Black |
| Blonde | 2 | 1 | 2 | 1 |
| Red | 1 | 1 | 2 | 0 |
| Brown | 1 | 0 | 4 | 2 |
| Black | 1 | 0 | 2 | 0 |
In the scenario above, the aggregate number of respondents with blue eyes, irrespective of hair color, is 5.
We can easily extract insights for now because the table is smaller. Imagine the table consisting of thousands of rows and columns of data.
How long would it take you to visualize this massive table?
Therefore, we recommend you use data visualization analysis to save time and resources.
So, what are the best graphs for categorical data?
Stick around because this is the question we’ll address in the coming sections.
You don’t want to miss this.
Besides categorical data (also known as nominal), there’s also ordinal data type.
Ordinal data has a set order or scale to it.
Example of ordinal data.
Let us assume 100 respondents earning between $1000 to $10,000 monthly participated in a survey that measures the level of happiness.
A fresh graduate earning a salary of $3,000 per month may be on an 8/10 scale. Conversely, a father of 4 earning $7,000 may rate his happiness as 3/10.
Check out our easy-to-follow examples of categorical data.
Some of the categorical data points include the following:
A categorical data with 2 possible values is called binary.
For example, “Do you have children?” (Yes/No).
In the coming section, we’ll unveil the best graph to use when showing categorical data.
Some of the best graphs for showing categorical data include:
Treemaps are one of the best graphs for categorical data visualization.
The space within the chart is split up into rectangles sized and organized based on key data points.
The levels in the Treemap Graph are depicted as boxes containing other smaller boxes. Each box represents a categorical data point.
To generate ready-made Treemaps, we suggest you use a game-changing tool (which we’ll talk about).
Sunburst Chart is one of the best graphs for categorical data analysis.
It shows insights using a series of concentric rings. And each ring corresponds to a categorical data point.
Also, each ring gives a sense of the part-to-whole relationship of a categorical data point relative to the parent ring.
Both Sunburst and Treemaps Charts are suitable for visualizing categorical data.
But Sunburst Visualization is more remarkable at showing how a categorical data point is broken into its constituent variables.
More so, the easy-to-interpret chart uses a circular format to create an immersive experience, especially among your target audiences (and readers).
A Sankey Diagram is one of the best graphs for categorical data visualization.
It uses node-to-node flows to show insights into measurable resources, such as money, energy, etc.
Besides, it uses colors to draw the attention of your readers (or audience) to the largest flows.
The wider the flow the larger the categorical data point. You can leverage this visualization to display insights into:
The Stacked Bar Chart is one of the best graphs for categorical data analysis.
You can use this visualization design to track the trends of categorical data points over time. Each bar is divided into several sub-bars arranged end to end.
It outdoes other charts in displaying part-to-whole relationships in variables.
It gets better.
The visualization is amazingly easy to read and interpret. And it can handle bulky data without clutter. Use this chart to display how the composition of variables in your data changes over time.
A Crosstab Chart is a form of hierarchical visualization.
It’s created by stacking bars on each other.
The chart is ideal for presenting hierarchical data. Each level is represented by a long bar.
While a Bar Chart can only represent a single dimension of your data, a Crosstab Graph can represent multiple dimensions at once.
Each box is subdivided into smaller bars organized in a hierarchical manner. You can easily point out the contribution of the smaller bars relative to the parent bars.
So, how can you access the best graphs for categorical data visualization- Treemap, Crosstab, Stacked Bar, Sankey, and Sunburst Charts?
Excel is one of the popular tools of visualization among business owners. However, it lacks ready-made charts for visualizing categorical data.
We’re not advising you to do away with Excel.
There’s an amazingly affordable tool that comes as an add-in you can easily install in Excel to access ready-to-go and easy-to-customize excel graphs and charts for visualizing categorical data.
The application is called ChartExpo.
What is ChartExpo?
ChartExpo is an add-in you can easily install in your Excel to access ready-made and visually appealing Charts.
In the coming section, we’ll show you how to visualize categorical data using ChartExpo.
You don’t want to miss it.
This section will use a Crosstab Chart to visualize the data table below.
| Cities | Items | Orders |
| Los Angeles | Clothing | 5118 |
| Los Angeles | Jewelry | 5884 |
| Los Angeles | Watches | 5028 |
| Los Angeles | Ceramics | 3732 |
| Chicago | Clothing | 3899 |
| Chicago | Jewelry | 6478 |
| Chicago | Watches | 6176 |
| Chicago | Ceramics | 3983 |
| Phoenix | Clothing | 6271 |
| Phoenix | Jewelry | 6158 |
| Phoenix | Watches | 4034 |
| Phoenix | Ceramics | 5147 |
| Miami | Clothing | 3770 |
| Miami | Jewelry | 3356 |
| Miami | Watches | 4108 |
| Miami | Ceramics | 4659 |
To get started with ChartExpo in Excel, follow the steps below:
You can use categorical data for survey storytelling.
Some examples of categorical variables include age group, educational level, race, sex, etc.
Categorical data analysis involves extracting insights into categorical data sets. There’re multiple ways of analyzing this data type.
There’s no single best chart for visualizing categorical data variables. But some of the best graphs for categorical data visualization include Treemap, Crosstab, Stacked Bar, Sankey, and Sunburst Charts.
These charts are amazingly easy to read and interpret. Besides, if you have gaming-changing tools, such as ChartExpo, you can access ready-made categorical-oriented charts.
A categorical variable (also known as a nominal variable) has two or more categories. But there is no explicit ordering in the categories.
A binary data point such as a yes/no question is a categorical value with two variables: no and yes.
Hair color is a practical example of categorical data. And this is because it has several categories, such as brunette, red, blonde, brown, gray, etc.
There’s no agreed way to order the hair color from highest to lowest.
One of the most straightforward analyses you can undertake is data visualization.
Some of the tested and proven charts for visualizing categorical data include: