Skip to content

Friends don't let friends make certain types of data visualization - What are they and why are they bad.

Notifications You must be signed in to change notification settings

tobbyxy/FriendsDontLetFriendsPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FriendsDontLetFriendsPython

Friends don't let friends make certain types of data visualization - What are they and why are they bad.

This project is motivated by the popular data visualization do's and don't. I decided to create my own version in python, for two reasons. First, it allows me practice my python skills and two allows me reiterate the data visualization problems that can occur when good practices are not adhered to.

To see the original Friend don't let Friends here

The Scripts/ directory contains .Python files that generate the graphics shown below.

Requirements

  • Python
  • Pandas
  • Scipy
  • Matplotlib

Table of Contents

1. Friends don't let Friends Make Bar Plots for Means Separation

This has to be the first one. Means separation plots are some of the most common in scientific publications. We have two or more groups, which contains multiple observations; they may have different means, variances, and distributions. The task of the visualization is to show the means and the spread (dispersion) of the data.

No Bar Plots for Means Separation

In this example, two groups have similar means and standard deviations, but quite different distributions. Are they really "the same"? Just don't use bar plot for means separation, or at least check a couple things before settling down on a bar plot.

2. Friends don't let Friends Make Violin Plots for Small Sample Sizes

Violin pots makes no sense for small n

3. Friends don't let Friends Use Biderectional Color Scales for Unidirectional Data

Colors scaling should be used thoughfully when visualizing data

4. Friends don't let Friends Make Bar Plot Meadow

About

Friends don't let friends make certain types of data visualization - What are they and why are they bad.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published