data visualization: a quick tour for data science enthusiasts
TRANSCRIPT
visualizationdataWhat is it about?
What is it good for?
How is it related to data science?
Example projects
…
List of deceased patients !
Mr. Smith, who lived at 11 Sunny St. Miss White, who lived at 23 Cloudy Rd.
Mr. Jones, who lived at 30 Rainy St. Mrs. Robinson, who lived at 34 Windy Rd.
…
data
What is it good for?
Storytelling Communicate known information
Exploratory data analysis Explore data to reveal insights
data wrangling
output insights, products, stories
exploratory data analysis
report results
raw data
in-depth analysis
data wrangling
output insights, products, stories
exploratory data analysis
report results
in-depth analysis
communication, storytelling
raw data
• 3 voters / country
• National team captain
• National team coach
• Journalist (media)
• Each voter select 3 players for 1st, 2nd and 3rd place
Rules
data wrangling
output insights, products, stories
exploratory data analysis
report results
in-depth analysis
communication, storytelling
raw data
Demo / Ballon d’Orhttps://medium.com/@kristw/who-voted-for-who-diving-into-ballon-dor-voting-data-e09138ba9712
GeoSan Francisco
flickr.com/photos/twitteroffice/8798020541
Low density
High density
GeoSan Francisco
Rebuild the world based on
tweet volumes
twitter.github.io/interactive/andes/
data wrangling
output insights, products, stories
exploratory data analysis
report results
in-depth analysis
communication, storytelling
raw data
• Too much data, want only relevant Tweets
• contain “สวัสดีปีใหม่”
• variations: หวัดดีปีใหม่, หวัดดีปีหม่ายยย
• typos: หวัดตีปีใหม่
• Need to aggregate & reduce size
• Long processing time (hours)
Challenges
Hadoop Cluster
Pig / Hive / Scalding (slow)
Data Storage
Tool
Final dataset
Tool node.js / python / etc. (fast)
Your laptop
Workflow
Smaller dataset
data wrangling
output insights, products, stories
exploratory data analysis
report results
in-depth analysis
communication, storytelling
raw data
What are being logged?
tweet from home timeline on twitter.com tweet from search page on iPhone
activities
What are being logged?
tweet from home timeline on twitter.com tweet from search page on iPhone
sign up log in
retweet etc.
activities
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]
User sessionsSession#1
A
B
start
end
Session#4
start
end
A
Session#2
B
start
end
A
Session#3
C
start
end
Aclient event
client event
Funnel analysis
banana : home : - : - : - : impression
banana : profile : - : - : - : impression
1 jobhome page
profile page
1 hour
Funnel analysis
banana : home : - : - : - : impression
banana : profile : - : - : - : impression banana : search : - : - : - : impression
home page
profile page search page
2 jobs2 hours
Funnel analysis
banana : home : - : - : - : impression
banana : profile : - : - : - : impression banana : search : - : - : - : impression
home page
profile page search page
Specify all funnels manually!
n jobsn hours
User sessionsSession#1
A
B
start
end
Session#4
start
end
A
Session#2
B
start
end
A
Session#3
C
start
end
A
Demo / Flying SessionsUsing Visualizations to Monitor Changes and Harvest Insights from a Global-Scale Logging
Infrastructure at Twitter by Krist Wongsuphasawat and Jimmy Lin. in Proc. IEEE Conference on Visual Analytics Science and Technology (VAST), Paris, France, 13 November, 2014
visualizationdataWhat is it about?
Data => Visual display + Interaction
What is it good for? Exploratory data analysis & storytelling
How is it related to data science? It is one of the skills often utilized in the process.
Example projects
interactive.twitter.com @kristw / kristw.yellowpigz.com