Skip to Content
Graphical Data Analysis with R
book

Graphical Data Analysis with R

by Antony Unwin
September 2018
Beginner to intermediate
310 pages
7h 56m
English
Chapman and Hall/CRC
Content preview from Graphical Data Analysis with R

Chapter 4

Displaying Categorical Data

It’s not what you look at that matters, it’s what you see.

Thoreau

Summary

Chapter 4 looks at visualising single categorical variables, nominal, ordinal, or discrete.

4.1 Introduction

Compared to the range of plots proposed for visualising single continuous variable data, there have been few suggestions for visualising single categorical variable data. Barcharts (horizontally or vertically) and piecharts are the commonest options. You could argue that both are area plots where cases are represented by an area proportional to group size rather than being plotted individually. However, since the bars in a barchart always have the same width, you compare lengths, not areas, which is much easier.

Occasionally ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Longitudinal Data Analysis

Longitudinal Data Analysis

Jason Newsom, Richard N. Jones, Scott M. Hofer
Data Science in R

Data Science in R

Deborah Nolan

Publisher Resources

ISBN: 9781498786775