214
Krist Wongsuphasawat / @kristw 6 THINGS TO EXPECT WHEN YOU ARE VISUALIZING

6 things to expect when you are visualizing

Embed Size (px)

Citation preview

Page 1: 6 things to expect when you are visualizing

Krist Wongsuphasawat / @kristw

6 THINGS TO EXPECT WHEN YOU ARE VISUALIZING

Page 2: 6 things to expect when you are visualizing

6 THINGS TO EXPECT WHEN YOU ARE VISUALIZINGKrist Wongsuphasawat / @kristw

Page 3: 6 things to expect when you are visualizing

Computer Engineer Bangkok, Thailand

Chulalongkorn University

Krist Wongsuphasawat / @kristw

Page 4: 6 things to expect when you are visualizing

Programming + Soccer

Computer Engineer Bangkok, Thailand

Krist Wongsuphasawat / @kristw

Page 5: 6 things to expect when you are visualizing

Programming + Soccer

Computer Engineer Bangkok, Thailand

Krist Wongsuphasawat / @kristw

Page 6: 6 things to expect when you are visualizing

(P.S. These are actually not my robots, but our competitors’.)

Krist Wongsuphasawat / @kristw

Computer Engineer Bangkok, Thailand

Page 7: 6 things to expect when you are visualizing

Krist Wongsuphasawat / @kristw

Computer Engineer Bangkok, Thailand

PhD in Computer Science Information Visualization Univ. of Maryland

Page 8: 6 things to expect when you are visualizing

Krist Wongsuphasawat / @kristw

Computer Engineer Bangkok, Thailand

IBMMicrosoft

PhD in Computer Science Information Visualization Univ. of Maryland

Page 9: 6 things to expect when you are visualizing

PhD in Computer Science Information Visualization Univ. of Maryland

IBMMicrosoft

Data Visualization Scientist Twitter

Krist Wongsuphasawat / @kristw

Computer Engineer Bangkok, Thailand

Page 10: 6 things to expect when you are visualizing

#interactive visualizations

Open-source projects

Visual Analytics Tools

Page 11: 6 things to expect when you are visualizing

DATA =ME+ VIS

Page 12: 6 things to expect when you are visualizing

Data, I’m ready!

Page 13: 6 things to expect when you are visualizing

Data, I’m ready!

Here I come!

Page 14: 6 things to expect when you are visualizing

WHAT TO EXPECT?

Page 15: 6 things to expect when you are visualizing

1. EXPECT TO FIND THE REAL NEED

Page 16: 6 things to expect when you are visualizing

INPUT (DATA)What clients think they have

Page 17: 6 things to expect when you are visualizing

INPUT (DATA)What clients think they have What they usually have

Page 18: 6 things to expect when you are visualizing

YOUWhat clients think you are

Page 19: 6 things to expect when you are visualizing

YOUWhat clients think you are What they will get

Page 20: 6 things to expect when you are visualizing

OUTPUT (VIS)What clients ask for

Page 21: 6 things to expect when you are visualizing

OUTPUT (VIS)What clients ask for What they really need

Page 22: 6 things to expect when you are visualizing

COMMUNICATE

Page 23: 6 things to expect when you are visualizing

GOALSPresent data Communicate information effectively

Analyze data Exploratory data analysis

Tools to analyze data Reusable tools for exploration

Enjoy

Combination of above

Page 24: 6 things to expect when you are visualizing

GOALSPresent data Communicate information effectively

Analyze data Exploratory data analysis

Tools to analyze data Reusable tools for exploration

Enjoy

Combination of above

Who are the audience? What do you want to tell?

What are the questions?

Who will use this? What would they use this for?

Who are the audience?

Page 25: 6 things to expect when you are visualizing

I need this. Take this.

Page 26: 6 things to expect when you are visualizing

I need this. Here you are.

I need this. Take this.

Page 27: 6 things to expect when you are visualizing

& COMPROMISE

Page 28: 6 things to expect when you are visualizing

2. EXPECT TO CLEAN DATA

Page 29: 6 things to expect when you are visualizing

2. EXPECT TO CLEAN DATA A LOT

Page 30: 6 things to expect when you are visualizing

70-80% of time cleaning data

“DATA JANITOR”

Page 31: 6 things to expect when you are visualizing

Collect + Clean + Transform

DATA WRANGLING

Page 32: 6 things to expect when you are visualizing

WHY DOES IT TAKE SO MUCH TIME?

Page 33: 6 things to expect when you are visualizing

2.1 Many sources and data format

Page 34: 6 things to expect when you are visualizing

DATA SOURCESOpen data Publicly available

Internal data Private, owned by clients’ organization

Self-collected data Manual, site scraping, etc.

Combine the above

Page 35: 6 things to expect when you are visualizing

DATA FORMATStandalone files txt, csv, tsv, json, Google Docs, …, pdf*

Databases doesn’t necessary mean they are organized

API better quality with more overhead

Website

Big data*

Page 36: 6 things to expect when you are visualizing

NEED TO…Change format e.g. tsv => json

Combine data

Resolve multiple sources of truth

Page 37: 6 things to expect when you are visualizing

2.2 Data transformation is needed.

Page 38: 6 things to expect when you are visualizing

EXAMPLESConvert latitude/longitude into zip code

Change country code from 3-letter (USA) to 2-letter (US)

Correct time of day based on users’ timezone

etc.

Page 39: 6 things to expect when you are visualizing

2.3 Data collection issues

Page 40: 6 things to expect when you are visualizing

EXAMPLESTypos

Incorrect values

Incorrect timestamps

Missing data

Page 41: 6 things to expect when you are visualizing

2.4 Definition of “clean” data

Page 42: 6 things to expect when you are visualizing

IS THIS CLEAN?USER RESTAURANT RATING========================A MCDONALD’S 3B MCDONALDS 3C MCDONALD 4D MCDONALDS 5E IHOP 4F SUBWAY 4

Page 43: 6 things to expect when you are visualizing

IS THIS CLEAN?USER RESTAURANT RATING========================A MCDONALD’S 3B MCDONALDS 3C MCDONALD 4D MCDONALDS 5E IHOP 4F SUBWAY 4

How many reviews are there? Clean.

How many restaurants are there? Not clean. McDonald, McDonald’s, McDonalds

Page 44: 6 things to expect when you are visualizing

2.5 Bigger data, bigger problems

Page 45: 6 things to expect when you are visualizing

HAVING ALL TWEETSHow people think I feel.

Page 46: 6 things to expect when you are visualizing

How people think I feel. How I really feel.

HAVING ALL TWEETS

Page 47: 6 things to expect when you are visualizing

Hadoop Cluster

GETTING BIG DATA

Data Storage

Page 48: 6 things to expect when you are visualizing

Scalding (slow)

GETTING BIG DATAHadoop Cluster

Data Storage

Tool

Page 49: 6 things to expect when you are visualizing

Scalding (slow)

GETTING BIG DATAHadoop Cluster

Data Storage

Tool

Your laptop Smaller dataset

Page 50: 6 things to expect when you are visualizing

Hadoop Cluster

Scalding (slow)

Data Storage

Tool

Final dataset

Tool node.js / python / excel (fast)

Your laptop

GETTING BIG DATA

Smaller dataset

Page 51: 6 things to expect when you are visualizing

CHALLENGESSlow Long processing time (hours)

Get relevant Tweets hashtag: #oscars keywords: “moonlight” (movie name)

Too big Need to aggregate & reduce size

Harder to spot problems

Page 52: 6 things to expect when you are visualizing

RAMSAY & RAMSEY

Page 53: 6 things to expect when you are visualizing

2.6 New issues can show up any time.

Page 54: 6 things to expect when you are visualizing
Page 55: 6 things to expect when you are visualizing

RECOMMENDATIONSAlways think that you will have to do it again document the process, automation

Reusable scripts break a gigantic do-it-all function into smaller ones

Reusable data keep for future project

Page 56: 6 things to expect when you are visualizing

3. EXPECT TRIALS AND ERRORS

Page 57: 6 things to expect when you are visualizing

It’s gonna be legen-

Page 58: 6 things to expect when you are visualizing

Celebrate your trials

#D3BrokeAndMadeArt

Page 59: 6 things to expect when you are visualizing

When your vis starts working

Page 60: 6 things to expect when you are visualizing

“Necessity is the mother of invention.”

— English Proverb

Page 61: 6 things to expect when you are visualizing

“Necessity is the mother of invention.”

— English Proverb

DEADLINE

Page 62: 6 things to expect when you are visualizing

EXAMPLE PROJECTS

Page 63: 6 things to expect when you are visualizing

PROJECT 1:

GAME OF THRONES #INTERACTIVE

Page 64: 6 things to expect when you are visualizing

INTERACTIVE.TWITTER.COM

Page 65: 6 things to expect when you are visualizing

WHAT TO EXPECTtimely Deadline is strict. Also can be unexpected events.

wide audience easy to explain and understand, multi-device support

one-off project

scope analyze data to find stories and find best way to present them

Page 66: 6 things to expect when you are visualizing

from fans’ conversations

Reveal the talking points of every episode of

Page 67: 6 things to expect when you are visualizing

Problem is coming.CHAPTER I

Page 68: 6 things to expect when you are visualizing

Problem

Want to know what the audience talk about a TV show

from Tweets

Page 69: 6 things to expect when you are visualizing

HBO’s Game of Thrones

Based on a book series “A Song of Ice and Fire” Medieval Fantasy. Knights, magic and dragons.

Page 70: 6 things to expect when you are visualizing

Brief Story

Page 71: 6 things to expect when you are visualizing

A King dies. 

A lot of contenders wage a war to reclaim the throne.

Page 72: 6 things to expect when you are visualizing

Minor characters with no claim to the throne set their own plans in action to gain power

when all the major characters end up killing each other.

Page 73: 6 things to expect when you are visualizing

Brave/Honest/Honorable characters die.

Intelligent but shady characters and characters who know nothing

continue to live.

Page 74: 6 things to expect when you are visualizing

While humans are busy killing each other, ice zombies “White walkers” are invading from the North.

The only group who seems to care about this is neutral group called the Night’s Watch.

Page 75: 6 things to expect when you are visualizing

HBO’s Game of Thrones

Based on a book series “A Song of Ice and Fire” Medieval Fantasy. Knights, magic and dragons.

Many characters. Anybody can die.

6 seasons (60 episodes) so far

Multiple storylines in each episode

Page 76: 6 things to expect when you are visualizing

Problem

Want to know what the audience talk about a TV show

from Tweets

Page 77: 6 things to expect when you are visualizing

Ideas

Common words Too much noise

Page 78: 6 things to expect when you are visualizing

Ideas

Common words Too much noise

Characters How o!en each character were mentioned?

Page 79: 6 things to expect when you are visualizing

I demand a trial by prototyping.CHAPTER II

Page 80: 6 things to expect when you are visualizing

Prototyping

Pull sample data from Twitter API

Entity recognition and counting naive approach

Page 81: 6 things to expect when you are visualizing

List of namesDaenerys Targaryen,Khaleesi

Jon Snow

Sansa Stark

Tyrion Lannister

Arya Stark

Cersei Lannister

Khal Drogo

Gregor Clegane,Mountain

Margaery Tyrell

Joffrey Baratheon

Bran Stark

Theon Greyjoy

Jaime Lannister

Brienne

Eddard Stark,Ned Stark

Ramsay Bolton

Sandor Clegane,Hound

Ygritte

Stannis Baratheon

Petyr Baelish,Little Finger

Robb Stark

Bronn

Varys

Catelyn Stark

Oberyn Martell

Daario Naharis

Davos Seaworth

Jorah Mormont

Melisandre

Myrcella Baratheon

Tywin Lannister

Tommen Baratheon

Grey Worm

Tyene Sand

Rickon Stark

Missandei

Roose Bolton

Robert Baratheon

Jojen Reed

Jeor Mormont

Tormund Giantsbane

Lysa Arryn

Yara Greyjoy,Asha Greyjoy

Samwell Tarly,Sam

Hodor

Victarion Greyjoy

High Sparrow

Dragon

Winter

Dothraki

Page 82: 6 things to expect when you are visualizing

Sample Tweet

Page 83: 6 things to expect when you are visualizing

Sample Tweet

Page 84: 6 things to expect when you are visualizing

Sample data

Character CountHodor 10000

Jon Snow 5000

Daenerys 4000

Bran Stark 3000

… …

*These numbers are made up for presentation, not real data.

Page 85: 6 things to expect when you are visualizing

When you play the game of vis, you iterate or you die.

CHAPTER III

Page 86: 6 things to expect when you are visualizing

Where to go from here?

Page 87: 6 things to expect when you are visualizing

+ episodes

The Guardian & Google Trendshttp://www.theguardian.com/news/datablog/ng-interactive/2016/apr/22/game-of-thrones-the-most-googled-characters-episode-by-episode

Page 88: 6 things to expect when you are visualizing

+ emotion

Page 89: 6 things to expect when you are visualizing

+ connections

Page 90: 6 things to expect when you are visualizing

+ connections

Page 91: 6 things to expect when you are visualizing

Gain insights from a single episode emotion & connections

Page 92: 6 things to expect when you are visualizing

Sample data

Character CountJon Snow+Sansa 1000

Tormund+Brienne 500

Bran Stark+Hodor 300

… …

Character CountHodor 10000

Jon Snow 5000

Daenerys 4000

… …

INDIVIDUALS CONNECTIONS

+ top emojis + top emojis

*These numbers are made up for presentation, not real data.

Page 93: 6 things to expect when you are visualizing

Graph

NODES LINKS

+ top emojis + top emojis

Character CountJon Snow+Sansa 1000

Tormund+Brienne 500

Bran Stark+Hodor 300

… …

Character CountHodor 1000

Jon Snow 500

Daenerys 400

… …

*These numbers are made up for presentation, not real data.

Page 94: 6 things to expect when you are visualizing

Network Visualization

Node-link diagram

Force-directed layout http://blockbuilder.org/kristw/762b680690e4b2b2666dfec15838a384

Page 95: 6 things to expect when you are visualizing

Issue: Hairball

Page 96: 6 things to expect when you are visualizing

Issue: Occlusions

Page 97: 6 things to expect when you are visualizing

Tried: Fixed positions

Page 98: 6 things to expect when you are visualizing

+ Collision Detection

http://blockbuilder.org/kristw/2850f65d6329c5fef6d5c9118f1de6e6

Page 99: 6 things to expect when you are visualizing

+ Community Detection

https://github.com/upphiminn/jLouvain

Page 100: 6 things to expect when you are visualizing

+ Collision Detection (with clusters)

https://bl.ocks.org/mbostock/7881887

Page 101: 6 things to expect when you are visualizing

Tormund + Brienne

Page 102: 6 things to expect when you are visualizing

Issue: Convex hull

http://bl.ocks.org/mbostock/4341699

Page 103: 6 things to expect when you are visualizing

x & y only, no radius

Page 104: 6 things to expect when you are visualizing

Example

Page 105: 6 things to expect when you are visualizing

Fix it

Page 106: 6 things to expect when you are visualizing

Fix it

Page 107: 6 things to expect when you are visualizing

Let’s get other episodes.

Page 108: 6 things to expect when you are visualizing

Hadoop remembers.CHAPTER IV

Page 109: 6 things to expect when you are visualizing

More data

Hadoop

Rewrite the scripts in Scalding to get archived data

Page 110: 6 things to expect when you are visualizing

How much data do we need?

Whole week?

5 days?

2 days?

A day?

etc.

Page 111: 6 things to expect when you are visualizing

How much data do we need?

Page 112: 6 things to expect when you are visualizing

Transitions

Page 113: 6 things to expect when you are visualizing

Changing episode

Page 114: 6 things to expect when you are visualizing

A#er switching episode1. Store old positions for existing characters.

2. Assign positions for new characters.

Page 115: 6 things to expect when you are visualizing

Community transition

t=0 t=1

Page 116: 6 things to expect when you are visualizing

Smoother

t=0 t=1t=0.5 t=0.51

Page 117: 6 things to expect when you are visualizing

ColorsDefault: D3 category10 Distinct but nothing about the context

Custom palette Colors related to the groups/houses.

Black = Night’s Watch Blue = North Red = Daenerys Gold = Lannister …

Page 118: 6 things to expect when you are visualizing

Hold the vis.CHAPTER V

Page 119: 6 things to expect when you are visualizing

The vis is not enough.

Page 120: 6 things to expect when you are visualizing
Page 121: 6 things to expect when you are visualizing

Legend

Page 122: 6 things to expect when you are visualizing

Navigation

Page 123: 6 things to expect when you are visualizing

Top 3

Page 124: 6 things to expect when you are visualizing

Adjust threshold

Page 125: 6 things to expect when you are visualizing

Recap

Page 126: 6 things to expect when you are visualizing

Filtered Recap

Tooltip

Page 127: 6 things to expect when you are visualizing

Demohttps://interactive.twitter.com/game-of-thrones

Page 128: 6 things to expect when you are visualizing

Mobile Support

Page 129: 6 things to expect when you are visualizing

A visualizer always evaluates his work.CHAPTER VI

Page 130: 6 things to expect when you are visualizing

Self & Peer

Does it solve the problem?

Page 131: 6 things to expect when you are visualizing

Google Analytics

Pageviews

Visitors

Actions

Referrals Sites/Social

Page 132: 6 things to expect when you are visualizing

Feedback

Page 133: 6 things to expect when you are visualizing

Feedback

Page 134: 6 things to expect when you are visualizing

PROJECT 2:

VISUAL ANALYTICS TOOLS FOR LOGGING

Page 135: 6 things to expect when you are visualizing

WHAT TO EXPECTricher, more features to support exploration of complex data

more technical audience product managers, engineers, data scientists

accuracy

designed for dynamic input

long-term projects

Page 136: 6 things to expect when you are visualizing

Data sources

Output

explore

analyze

present

get

*

*

Page 137: 6 things to expect when you are visualizing

Data sources

Output

explore

analyze

present

get

*

*

ad-hoc scripts

Page 138: 6 things to expect when you are visualizing

Data sources

Output

explore

analyze

present

get

*

*

ad-hoc scripts tools for exploration

Page 139: 6 things to expect when you are visualizing

USER ACTIVITY LOGS

Page 140: 6 things to expect when you are visualizing

UsersUseTwitter

Page 141: 6 things to expect when you are visualizing

UsersUse

Product Managers

Curious

Twitter

Page 142: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Write Twitter

Instrument

Product Managers

Page 143: 6 things to expect when you are visualizing

WHAT ARE BEING LOGGED?

tweet

Activities

Page 144: 6 things to expect when you are visualizing

WHAT ARE BEING LOGGED?

tweet from home timeline on twitter.com tweet from search page on iPhone

Activities

Page 145: 6 things to expect when you are visualizing

WHAT ARE BEING LOGGED?

tweet from home timeline on twitter.com tweet from search page on iPhone

sign up log in

retweet etc.

Activities

Page 146: 6 things to expect when you are visualizing

ORGANIZE?

Page 147: 6 things to expect when you are visualizing

LOG EVENT A.K.A. “CLIENT EVENT”

[Lee et al. 2012]

Page 148: 6 things to expect when you are visualizing

LOG EVENT A.K.A. “CLIENT EVENT”

client : page : section : component : element : actionweb : home : timeline : tweet_box : button : tweet

1) User ID 2) Timestamp 3) Event name

4) Event detail

[Lee et al. 2012]

Page 149: 6 things to expect when you are visualizing

LOG DATA

Page 150: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Twitter

Instrument

Write

Product Managers

bigger than Tweet data

Page 151: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Data Scientists

Ask

Twitter

Instrument

Write

Product Managers

Page 152: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Data Scientists

Find

Ask

Twitter

Instrument

Write

Product Managers

Page 153: 6 things to expect when you are visualizing

LOG DATA

Page 154: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Data Scientists

Find, Clean

Ask

Twitter

Instrument

Write

Product Managers

Page 155: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Data Scientists

Find, Clean

Ask

Monitor

Twitter

Instrument

Write

Product Managers

Page 156: 6 things to expect when you are visualizing

UsersUse

Curious

Engineers

Log datain Hadoop

Data Scientists

Find, Clean, Analyze

Ask

Monitor

Twitter

Instrument

Write

Product Managers

Page 157: 6 things to expect when you are visualizing

Log data

EngineersData Scientists

Usersin Hadoop

Find, Clean, Analyze

Use

Monitor

Ask

Curious

1 2

Twitter

Instrument

Write

Product Managers

Page 158: 6 things to expect when you are visualizing

client page section component element action

Event50,000+ event types

Page 159: 6 things to expect when you are visualizing

client page section component element action

Event50,000+ event types

one graph / event

x 50,000

Page 160: 6 things to expect when you are visualizing

DESIGN

Page 161: 6 things to expect when you are visualizing

See

Client event collection

Engineers & Data Scientists

Page 162: 6 things to expect when you are visualizing

See

Client event collection

Engineers & Data Scientists

narrow down

Interactions search box => filter

Page 163: 6 things to expect when you are visualizing

See

HOW TO VISUALIZE?

narrow down

Client event collection

Engineers & Data Scientists

Interactions search box => filter

Page 164: 6 things to expect when you are visualizing

See

Client event collection

Engineers & Data Scientists

client : page : section : component : element : action

HOW TO VISUALIZE?

narrow down

Interactions search box => filter

Page 165: 6 things to expect when you are visualizing

CLIENT EVENT HIERARCHY

iphone home -

- - impression

tweet tweet click

iphone:home:-:-:-:impression

iphone:home:-:tweet:tweet:click

Page 166: 6 things to expect when you are visualizing

DETECT CHANGES

iphone home -

- - impression

tweet tweet click

iphone home -

- - impression

tweet tweet click

TODAY

7 DAYS AGO

compared to

Page 167: 6 things to expect when you are visualizing

CALCULATE CHANGES

+5% +5% +5%

+10% +10% +10%

-5% -5% -5%

DIFF

Page 168: 6 things to expect when you are visualizing

DISPLAY CHANGES

iphone home -

- - impression

tweet tweet click

Map of the Market [Wattenberg 1999], StemView [Guerra-Gomez et al. 2013]

Page 169: 6 things to expect when you are visualizing

DISPLAY CHANGES

home -

- - impression

tweet tweet click

iphone

Page 170: 6 things to expect when you are visualizing

Demo Demo Demo

Demo / Scribe Radar

Page 171: 6 things to expect when you are visualizing

Twitter for Banana

Page 172: 6 things to expect when you are visualizing
Page 173: 6 things to expect when you are visualizing

PROJECT 3:

VISUAL ANALYTICS TOOLS FOR EXPERIMENTATION

Page 174: 6 things to expect when you are visualizing

A/B TESTING

Page 175: 6 things to expect when you are visualizing

RUN AN EXPERIMENTDevelop feature

Track metrics 1. No. of Tweets read 2. No. of Tweets sent 3. No. of Users 4. …

Set bucket size How many users?

Page 176: 6 things to expect when you are visualizing

RETROSPECTIVE ANALYSISData scientist analyzed 100+ past experiments.

Many useful insights. - We could move metric A by X% on average. - Experiment 18 moved metric A the most - Which team was able to move metric A successfully? - etc.

Page 177: 6 things to expect when you are visualizing

RETROSPECTIVE ANALYSISData scientist analyzed 100+ past experiments.

Many useful insights. - We could move metric A by X% on average. - Experiment 18 moved metric A the most - Which team was able to move metric A successfully? - etc.

Amount of knowledge transfer = slide deck + wiki page.

Reproduce for recent experiments? Manually.

Page 178: 6 things to expect when you are visualizing

RETROSPECTIVE ANALYSISData scientist analyzed 100+ past experiments.

Many useful insights. - We could move metric A by X% on average. - Experiment 18 moved metric A the most - Which team was able to move metric A successfully? - etc.

Amount of knowledge transfer = slide deck + wiki page.

Reproduce for recent experiments? Manually.

Make results more accessible and convenient to use.

Page 179: 6 things to expect when you are visualizing

RETROSPECTIVE ANALYSISData scientist analyzed 100+ past experiments.

Many useful insights. - We could move metric A by X% on average. - Experiment 18 moved metric A the most - Which team was able to move metric A successfully? - etc.

Amount of knowledge transfer = slide deck + wiki page.

Reproduce for recent experiments? Manually.

Make results more accessible and convenient to use.

Automatic

Page 180: 6 things to expect when you are visualizing

Metric MoverI like to move it, move it

Krist Wongsuphasawat, Joseph Liu, Matthew Schreiner, Andy Schlaikjer, Lucile Lu and Busheng Lou

Page 181: 6 things to expect when you are visualizing

Set OKRs

Process

# of posts

Page 182: 6 things to expect when you are visualizing

Implement a feature

Set OKRs

Process

Setup experiment

# of posts

# of posts

Page 183: 6 things to expect when you are visualizing

Implement a feature

Set OKRs

Interpret results

Process

Run experiment

+1.0%

Setup experiment

# of posts

# of posts

Page 184: 6 things to expect when you are visualizing

Implement a feature

Set OKRs

Interpret results

Process

Run experiment

+1.0%

Setup experiment

How easy/hard it is to move this metric?How much change to aim for?

Challenges

# of posts

# of posts

Page 185: 6 things to expect when you are visualizing

Implement a feature

Set OKRs

Interpret results

Process

Run experiment

+1.0%

How much to expect from one experiment?What were the successful features?Who had experience with this?Setup experiment

How easy/hard it is to move this metric?How much change to aim for?

Challenges

# of posts

# of posts

Page 186: 6 things to expect when you are visualizing

Implement a feature

Set OKRs

Interpret results

Process

Run experiment

+1.0%

How much to expect from one experiment?What were the successful features?Who had experience with this?Setup experiment

How easy/hard it is to move this metric?How much change to aim for?

How good is this?

Challenges

# of posts

# of posts

Page 187: 6 things to expect when you are visualizing

Past experiments

Metric Mover

Page 188: 6 things to expect when you are visualizing

Exp. 1

Exp. 2

Exp. 3

Exp. 4

Metric: No. of Posts

Page 189: 6 things to expect when you are visualizing

Exp. 1

Exp. 2

Exp. 3

Exp. 4

Metric: No. of PostsControl buckets

Page 190: 6 things to expect when you are visualizing

Exp. 1

Exp. 2

Exp. 3

Exp. 4

Metric: No. of Posts

Page 191: 6 things to expect when you are visualizing

Exp. 1

Exp. 2

Exp. 3

Exp. 4

Metric: No. of Posts

Insignificant buckets

Page 192: 6 things to expect when you are visualizing

Exp. 1

Exp. 2

Exp. 3

Exp. 4

Metric: No. of Posts

Page 193: 6 things to expect when you are visualizing

Metric: No. of Posts

Page 194: 6 things to expect when you are visualizing

Metric: No. of Posts

% change

0-1%-2% 2%1%

Page 195: 6 things to expect when you are visualizing

Metric: No. of Posts

% change

0-1%-2% 2%1%

|scaled impact|

100,000,000

1,000,000

10,000

100

Page 196: 6 things to expect when you are visualizing

Users who watch cat GIFs Users who like cat GIFs Users who post cat GIFs

**These are fake data.**

Page 197: 6 things to expect when you are visualizing

WORKFLOWIdentify needs

Design and prototype Make it work for sample dataset

Refine, generalize and productionize Make it work for other cases

Document and release

Maintain and support Keep it running, Feature requests & Bugs fix

Page 198: 6 things to expect when you are visualizing

What separates good and great work

4. EXPECT TIME FOR REFINEMENT

Page 199: 6 things to expect when you are visualizing

REFINE & POLISHUX / UI + Mobile Support

Color

Animation / Transition

Performance Loading time, Data file size

“The little of visualisation design” by Andy Kirk http://www.visualisingdata.com/2016/03/little-visualisation-design/

Page 200: 6 things to expect when you are visualizing

“The first 90% of the code accounts for the first 90% of the development time.

The remaining 10% of the code accounts for the other 90% of the development time.”

— Tom Cargill, Bell Labs

Page 201: 6 things to expect when you are visualizing

or find ways to get some

5. EXPECT FEEDBACK

Page 202: 6 things to expect when you are visualizing

“Feedback is the breakfast of champion.”

— Ken Blanchard

Page 203: 6 things to expect when you are visualizing

FEEDBACKDuring development Feedback sessions with clients/potential users

After release Logging User study Forum, User group Office hours

Page 204: 6 things to expect when you are visualizing

6. EXPECT TO IMPROVE

Page 205: 6 things to expect when you are visualizing

HOW TO BE BETTER?Time is limited.

Learn from the past

Expand skills

Get help / Grow the team

Improve tooling Solve a problem once and for all

Automate repetitive tasks

Page 206: 6 things to expect when you are visualizing

http://twitter.github.io/labella.js

Demo / Labella.js

Page 207: 6 things to expect when you are visualizing

https://github.com/twitter/d3kit

Demo / d3Kithttp://www.slideshare.net/kristw/d3kit

Page 208: 6 things to expect when you are visualizing

yeoman.io

Demo / Yeoman

Page 209: 6 things to expect when you are visualizing

SUMMARY

Page 210: 6 things to expect when you are visualizing

EXPECT…1. to find the real need

2. to clean data a lot

3. trials and errors

4. time for refinement

5. feedback

6. to improveKrist Wongsuphasawat / @kristw

kristw.yellowpigz.com

Page 211: 6 things to expect when you are visualizing

THANK YOU

Page 212: 6 things to expect when you are visualizing

QUESTIONS?

Page 213: 6 things to expect when you are visualizing

My colleagues at Twitter for their collaboration and support in these projects;

and my wife for taking care of the baby while I make these slides.

ACKNOWLEDGEMENT

Page 214: 6 things to expect when you are visualizing

RESOURCESImages Banana phone http://goo.gl/GmcMPq Bar chart https://goo.gl/1G1GBg Boss https://goo.gl/gcY8Kw Champions League http://goo.gl/DjtNKE Database http://goo.gl/5N7zZz Fishing shark http://goo.gl/2fp4zW Frustrated programmer https://goo.gl/ZLDNny Globe visualization http://goo.gl/UiGMMj Harry Potter http://goo.gl/Q9Cy64 Holding phone http://goo.gl/It2TzH Jon Snow https://goo.gl/CACWxE Jon Snow lightsaber https://goo.gl/CJt1Tn Kiwi orange http://goo.gl/ejQ73y

Kiwi http://goo.gl/9yk7o5 Library https://goo.gl/HVeE6h Library earthquake http://goo.gl/rBqBrs Minion http://goo.gl/I19Ijg Nemo https://goo.gl/m0pmzC Orange & Apple http://goo.gl/NG6RIL Pile of paper http://goo.gl/mGLQTx Scrooge McDuck https://goo.gl/aKv8D7 Trash pile http://goo.gl/OsFfo3 Watercolor Map by Stamen Design Yes GIF https://goo.gl/agvlAE