Why aren’t all of our graphs interactive?

Karl Broman

Biostatistics & Medical Informatics, University of Wisconsin – Madison

www.biostat.wisc.edu/~kbroman

github.com/kbroman
kbroman.wordpress.com
@kwbroman

Example: density estimate

Bandwidth = 1.00

2

Example: scatterplot

3

Opportunities

4

Reproducible reports

5

Attie project

~500 B6 x BTBR intercross mice, all knocked out for leptin

5

Many box plots

6

Many box plots

6

Many box plots, modernized

7

Many box plots, interactive

8

Barriers

9

Barriers

10

Examples from JASA

11

Examples from JASA

12

Examples from JASA

13

Examples from JASA

There are some nice ones.

14

An alternative to tables

Carr & Pickle (2010) Visualizing data patterns with Micromaps.

15

Options

16

Trade-offs

Easy or flexible?

17

http://bl.ocks.org/1136236

18

A lot to learn

19

But it’s getting simpler

20

Others’ D3 examples

21

Interactive LOD curves

22

Interactive eQTL plot

23

Spalding project

Phenotype movie

24

Phenotypes measured over time

25

LOD curves at 62 min

26

LOD curves at 62 min

27

All times, considered individually

28

Summary

29

Acknowledgments: Data

Alan Attie
Mark Keller
Biochemistry, UW–Madison
Brian Yandell Statistics and Horticulture, UW–Madison
Christina Kendziorski
Aimee Teo Broman
Biostatistics & Medical Informatics, UW–Madison
Eric Schadt Pacific Biosciences of California
Danielle Greenawalt
Amit Kulkarni
Merck & Co., Inc.
Edgar Spalding
Candace Moore
Logan Johnson
Botany, UW-Madison

30

Acknowledgments: Code

D3 and stack.js by

D3 tutorials by Scott Murray

CoffeeScript by Jeremy Ashkenas

Eloquent JavaScript by Marijn Haverbeke

CoffeeScript book by Trevor Burnham

d3-tip by Justin Palmer

31