## Difference between revisions of "Univariate data visualization"

### From OPOSSEM

Emily Clough (talk | contribs) |
Emily Clough (talk | contribs) |
||

Line 19: | Line 19: | ||

===2010 British Parliamentary Elections: a pie chart=== | ===2010 British Parliamentary Elections: a pie chart=== | ||

The first example we'll look at is the [[wikipedia:United_Kingdom_general_election,_2010]]. | The first example we'll look at is the [[wikipedia:United_Kingdom_general_election,_2010]]. | ||

− | == | + | ==Histograms== |

+ | While you have probably seen a pie chart before, you maybe less familiar with the histogram. Histograms are less commonly seen in the media, but are very useful univariate graphs. A histogram is a type of bar chart that presents the proportions of a variable, much like a pie chart. In a histogram, the values of the variable are laid out along the horizontal axis of the graph. Each value of the variable has a bar that reflects the number of times that value occurred. | ||

+ | |||

+ | |||

===Example=== | ===Example=== | ||

=Heading= | =Heading= |

## Revision as of 08:22, 7 July 2011

## Contents

# Objectives

# Introduction

Graphs are one of the clearest ways to convey information about a single variable to an audience, particularly an audience that is unfamiliar or uncomfortable with numbers. While many people will claim that they do not understand statistics, they can look at a pie chart and get some sense of what a variable looks like. This is why we so frequently see graphs in newspapers and on television; they are an easy and effective way to convey information. It is important, however, to think carefully about how you construct graphs. In particular, you must consider which kind of graph will best convey the information you are interested in.

# Looking at a single variable: pie charts v. histograms

Pie charts and histograms are two of the most commonly used types of graphs used to convey information about a single variable; for this reason, they are called univariate graphs. Pie charts are the type we see most commonly, and one that many people are familiar with. However, each type offers different advantages in terms of how the information is presented. You should think carefully about these advantages before deciding which type to use.

## Pie charts

Pie charts are quite common, and you have probably run across them in news reports of various kinds. A pie chart looks at a single variable. That variable is divided into categories, and the proportion of the total cases in each category is calculated. A pie chart is simply a circle, divided into sections that reflect the proportions of each category.

### 2010 British Parliamentary Elections: a pie chart

The first example we'll look at is the wikipedia:United_Kingdom_general_election,_2010.

## Histograms

While you have probably seen a pie chart before, you maybe less familiar with the histogram. Histograms are less commonly seen in the media, but are very useful univariate graphs. A histogram is a type of bar chart that presents the proportions of a variable, much like a pie chart. In a histogram, the values of the variable are laid out along the horizontal axis of the graph. Each value of the variable has a bar that reflects the number of times that value occurred.

### Example

# Heading

## Sub-heading

## Sub-heading

### Example

# Heading

## Sub-heading

# Conclusion

# References

# Discussion questions

# Problems

# Glossary

- [[Def: ]]
- [[Def: ]]
- [[Def: ]]