Bars and dots: point data

R'de Görselleştirme En İyi Uygulamaları

Nick Strayer

Instructor

What is point data?

  • One categorical axis, one numeric
  • Counts, averages, rates, etc.

R'de Görselleştirme En İyi Uygulamaları

A single observation

  • Represents a singular observation of something
  • E.g. population of a state, rate of cell growth

R'de Görselleştirme En İyi Uygulamaları

The bar chart

  • Popular
  • Simple
  • Accurate
ggplot(who_disease) +
  geom_col(aes(x = disease, y = cases))
R'de Görselleştirme En İyi Uygulamaları

R'de Görselleştirme En İyi Uygulamaları

Not always the best

  • Bar charts are frequently used when other charts are more appropriate
  • A few principles can be followed to help avoid this

R'de Görselleştirme En İyi Uygulamaları

The stacking principle

  • Should be used for data that represents a meaningful quantity
  • Ask: 'Could I stack what I'm measuring to make the bars?'

R'de Görselleştirme En İyi Uygulamaları

Why quantities?

"...viewers judge points that fall within the bar as being more likely than points equidistant from the mean, but outside the bar..."

               - Scholl & Newman, 2012

 

  • People view the bar as 'containing' the values below top
  • Quantities fulfill this assumption

R'de Görselleştirme En İyi Uygulamaları

A big deal?

  • Not really...
  • ... but alternatives are not worse, so they may as well be used

 

R'de Görselleştirme En İyi Uygulamaları

Let's practice!

R'de Görselleştirme En İyi Uygulamaları

Preparing Video For Download...