SlideShare uma empresa Scribd logo
1 de 56
D3, VISUALIZATIONS,
N’AT
Patrick M. Dudas
@pdudders
Who I am..
Data Visualization (Meetup)
Art

UI/UX

Data

Coding

Github: https://github.com/dudaspm/Pittsburgh-Data-Visualization
Data Mining Process
Edward Tufte
“With most visualizations and graphics, the main
focus is to take multiple dimensions of
information and project it on to a twodimension plot”
Infographic, Model, or
Visualization

Visualization

Infographic
Model
http://fold.it/portal/info/about - University of Washington
When Graphics Go Bad
7



Challenger
 January

28, 1986
Can Anyone Spot the Problem?
8
How About Now?
9
#1 Asked Question


I have “this data.”
 What

visualization should I use?

 http://www.datavis.ca/gallery/evil-pies.php

Data
12
34
43
10
35
23
22
9

Normalize

Data
0.06383
0.180851
0.228723
0.053191
0.18617
0.12234
0.117021
0.047872

Visualization
?
Steamgraph, Sparklines, and
Treemaps
Hive Plots, Star Plots, and Parallel
Coordinates
Back to the #1 Asked Question


I have “this data.”
 What
 Ask

visualization should I use?
your users or experts
How to Get to D3

HTML
Javascript/JQuery

XML

SVG

D3
HTML
<html>
<head>
<title>I am metadata</title>
<script src="http://d3js.org/d3.v3.min.js"></script>

</head>
<body>
the body of HTML
</body>
</html>
http://boxnumbertwo.com/D3Simple/1.0/example1.html
DIV
<html>
<head>
<title>I am metadata</title>
<script src="../d3/d3.min.js"></script>
</head>
<body>
<div id="visualization_here"></div>
</body>
</html>
Not Well Formatted HTML
<html>
<head>
<title>I am a webpage</title>
<script src="../d3/d3.min.js"></script>
</header>
<ody>
<div id="visualization_here"></div>
</body
</html>
XML (Must Be Well Formatted)
<?xml version="1.0"?>
<note>
<to>Dave</to>
<from>Jamie</from>
<heading>Reminder</heading>
<message>Don't forget me this
weekend!</message>
</note>
SVG
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px"
height="400px">
<polygon points="200,10 250,190 160,210" style="fill:lime;stroke-width:1"/>
</svg>
SVG vs. Canvas or Vector vs. Raster



Canvas = Pixels
 Raster



SVG
 Points
 Lines
 Polygons
 Vector
D3 - http://d3js.org/


Data Driven Documents
 Enter,

Update, Exit
 Interactions
 Transitions


Big List of Examples (1900)
 http://christopheviau.com/d3list/index.html
D3.js



SVG, CSS, and HTML
update




update your data

enter
enter svg objects using that data (example6)
OR




exit





mouse events (example8)
transitions (example9)




remove svg using that data (example7)

smoothly change data

example10 – adding affordances and a little fun
Simple Exam of D3


var circleData = [4, 8, 15, 16, 23, 42];

http://boxnumbertwo.com/D3Simple/1.0/example6.html
Bertin’s Retinal/Visual Variable
Adding Some Aesthetics
var color = d3.scale.category10();
newCircles.enter().append("circle")
.attr("cx", function(d) { return d*10; })
.attr("cy", function(d) { return d*10; })
.attr("r", function(d) { return d; })
.style("fill", function(d) { return color(d); });
http://boxnumbertwo.com/D3Simple/1.0/example7.html
https://github.com/mbostock/d3/wiki/Ordinal-Scales#wiki-category10
http://boxnumbertwo.com/D3Simple/NetworkX/1.6/index.php?sizeOfGraph=60&Pro
babilityOfEdge=.03
Enter, Update, Exit

http://boxnumbertwo.com/D3Simple/1.0/example7.html
Change Blindness


Minimizing changes in a scene to make visual changes more
noticeable.
Sometimes We Miss the
Change








Change Blindness - phenomenon that occurs
when a person viewing a visual scene
apparently fails to detect large changes in the
scene (Wikipedia)
http://www.csc.ncsu.edu/faculty/healey/PP/mo
vies/Dinner.gif
http://www.csc.ncsu.edu/faculty/healey/PP/mo
vies/Airplane.gif
http://www.csc.ncsu.edu/faculty/healey/PP/mo
vies/Chopper_Truck.gif
Smooooooth Transitions
newerCircles.exit()
.transition()
.duration(3000)
.attr("r", 0)
.remove();

http://boxnumbertwo.com/D3Simple/1.0/example9.ht
http://www.boxnumbertwo.com/PitterPatter/1.2/ml
Don Norman’s Design of Everyday
Things
32




Builds on the notion of affordances
Affordance – "refers to the perceived and actual
properties of the thing, primarily those
fundamental properties that determine just how
the thing could possibly be used … Affordances
provide strong clues to the operations of things"
(Norman, 1988)
 This

can include objects or words/numbers!

Norman, D. A. (1988). The design of everyday things. New York, Doubleday
Affordance
Affordance Scenario 1
34

http://www.baddesigns.com
Trapped between the doors!
35




She was walking from one building to the other
with a co-worker. They pulled the handles that
opened the doors and went down the walkway.
Upon reaching the other end they again pulled
the handles, but the doors wouldn't budge.
Assuming the doors were locked, they returned
to the doors they originally opened to enter the
walkway. But when they tried to pull open these
doors, they wouldn't open either. They were
trapped in the walkway between the two
buildings!
My friend and her co-worker spent the next few
minutes trying to signal to people though the
windows in the buildings, but the people they
signaled seemed strangely reluctant to come to
the rescue. Finally, after trying the doors again,
they discovered they needed to push the doors
rather than pull them.
Let’s Add Some Affordances
newCircles.enter().append("circle")
.attr("cx", function(d) { return d*10; })
.attr("cy", function(d) { return d*10; })
.attr("r", function(d) { return d; })
.style("fill", function(d) { return color(d); })
.style("stroke-width", 0)
.style("stroke", "black")
.style("cursor", "pointer")
// on mouse-over, change the border of the given circle to 2
.on("mouseover", function() {d3.select(this).style("strokewidth", 2)})
// on mouse-out, change the border back to the original (0)
.on("mouseout", function() {d3.select(this).style("strokewidth", 0)})
http://boxnumbertwo.com/D3Simple/1.0/example10.html
Heatmap
Heat Map

38
Heat Map

39
Matrix + Layers + Color = Heatmap
redM.push(0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0)
redM.push(0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0)
redM.push(0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,0)
redM.push(0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0)
redM.push(0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0)
redM.push(0,0,0,0,1,1,1,0,0,1,1,1,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

http://boxnumbertwo.com/D3Simple/mario/standing.html
Chaining Transitions
var t0 = vis.transition().ease('quadin').selectAll("rect");
t0.style("fill", function(d,i) { return
marioColors[d[1][1]]; });
var t1 = t0.transition();
t1.style("fill", function(d,i) { return
marioColors[d[2][1]]; });

http://boxnumbertwo.com/D3Simple/mario/marioMoving.html
Javascript Timers + D3 =
Animation
var cloud_scale_1 = .8, cloud_translate_1 = [700,100];
setInterval(function(){moveCloud_1();},25);
var boo_2 = 0;
var cloud_scale_2 = .6, cloud_translate_2 = [0,300];
setInterval(function(){moveCloud_2();},30);

var boo_3 = 0;
var cloud_scale_3 = .7, cloud_translate_3 = [300,0];
setInterval(function(){moveCloud_3();},40);
var boo_4 = 0;
var cloud_scale_4 = .9, cloud_translate_4 = [500,200];
setInterval(function(){moveCloud_4();},55);

http://boxnumbertwo.com/D3Simple/6.1/
Dynamic Twitter Network
Analysis

43
Overall Platform
44
Ubiquitous Platform
45






Built upon HTML5 standards
Does not require any additional software to be
downloaded
All major browsers:
 IE,



Firefox, Chrome, Safari, Opera, etc.

Supports all UTF-8 and Unicode character
types
Networks
46



James tweets: “Just saw @Dannie at the
#Pittsburgh #Library. Checked out this book:
http://bit.ly/U8AGsc”


Username -> Username:




Username -> Hashtag:




James -> Pittsburgh and James -> Library

Hashtag -> Hashtag:




James -> Dannie

Pittsburgh -> Library

Username -> URL:


James -> http://bit.ly/U8AGsc
DTNA Layout
47
Saliency and Network
48




limited to 100 nodes
clustering algorithm






differentiated by color
coding

bias to inner-cluster
strength to inter-cluster
strength
edge directionality
bias inner-cluster vs.
inter-cluster


log-based degree centrality
st
 highlight 1 degree
Blondel, V. D.,connections
Guillaume, J. L., Lambiotte, R., & Lefebvre, E. (2008). Fast unfolding of communities in large networks. Journal of


Statistical Mechanics: Theory and Experiment, 2008(10), P10008.
Real-Time Network
49
Dynamic Query and Layout
50
Export Network
51



Export:
 UCINET
 Gephi
 Palantir
 Pajek
TweetViewer
52
TweetViewer Timeline
53
Sentiment Analysis
54

F. Å. Nielsen, "A new ANEW: Evaluation of a word list for sentiment analysis in microblogs," Arxiv preprint arXiv:1103.2903, 2011.
Sentiment Analysis
55

Negative
Words:
• Sad
• Murder
• Disgust
• WTF
• Kill
• 

http://www.youtube.com/watch?v=ao6V_5sK3-A

Positive
Words:
• Praise
• Love
• Dear
• kind
• Hope
• 
Thank you!


Contact:
 dudaspm@gmail.com
 Github:
 https://github.com/dudaspm/Pittsburgh-Data-

Visualization

Mais conteúdo relacionado

Destaque

Migrating to WP Engine
Migrating to WP EngineMigrating to WP Engine
Migrating to WP Enginemesmonde
 
Irrigationengineeringm1 120625051631-phpapp01
Irrigationengineeringm1 120625051631-phpapp01Irrigationengineeringm1 120625051631-phpapp01
Irrigationengineeringm1 120625051631-phpapp01jdi8kj
 
0071549226ar007 100508140517-phpapp02
0071549226ar007 100508140517-phpapp020071549226ar007 100508140517-phpapp02
0071549226ar007 100508140517-phpapp02jdi8kj
 
The impact of Big Data on next generation of smart cities
The impact of Big Data on next generation of smart citiesThe impact of Big Data on next generation of smart cities
The impact of Big Data on next generation of smart citiesCityPulse Project
 
Internet of Things: The story so far
Internet of Things: The story so farInternet of Things: The story so far
Internet of Things: The story so farCityPulse Project
 
Multi-resolution Data Communication in Wireless Sensor Networks
 Multi-resolution Data Communication in Wireless Sensor Networks Multi-resolution Data Communication in Wireless Sensor Networks
Multi-resolution Data Communication in Wireless Sensor NetworksCityPulse Project
 
CityPulse - Wright State University
CityPulse - Wright State UniversityCityPulse - Wright State University
CityPulse - Wright State UniversityCityPulse Project
 
Governance in India - Issues and Measures
Governance in India - Issues and MeasuresGovernance in India - Issues and Measures
Governance in India - Issues and MeasuresMudit Jain
 
Prjezjentacija gfks
Prjezjentacija gfksPrjezjentacija gfks
Prjezjentacija gfksnikso-web
 

Destaque (12)

Migrating to WP Engine
Migrating to WP EngineMigrating to WP Engine
Migrating to WP Engine
 
Social Selling Workshop
Social Selling WorkshopSocial Selling Workshop
Social Selling Workshop
 
Irrigationengineeringm1 120625051631-phpapp01
Irrigationengineeringm1 120625051631-phpapp01Irrigationengineeringm1 120625051631-phpapp01
Irrigationengineeringm1 120625051631-phpapp01
 
0071549226ar007 100508140517-phpapp02
0071549226ar007 100508140517-phpapp020071549226ar007 100508140517-phpapp02
0071549226ar007 100508140517-phpapp02
 
The impact of Big Data on next generation of smart cities
The impact of Big Data on next generation of smart citiesThe impact of Big Data on next generation of smart cities
The impact of Big Data on next generation of smart cities
 
Internet of Things: The story so far
Internet of Things: The story so farInternet of Things: The story so far
Internet of Things: The story so far
 
Multi-resolution Data Communication in Wireless Sensor Networks
 Multi-resolution Data Communication in Wireless Sensor Networks Multi-resolution Data Communication in Wireless Sensor Networks
Multi-resolution Data Communication in Wireless Sensor Networks
 
Finite state machine
Finite state machineFinite state machine
Finite state machine
 
CityPulse - Wright State University
CityPulse - Wright State UniversityCityPulse - Wright State University
CityPulse - Wright State University
 
Governance in India - Issues and Measures
Governance in India - Issues and MeasuresGovernance in India - Issues and Measures
Governance in India - Issues and Measures
 
EU FP7 CityPulse Project
EU FP7 CityPulse ProjectEU FP7 CityPulse Project
EU FP7 CityPulse Project
 
Prjezjentacija gfks
Prjezjentacija gfksPrjezjentacija gfks
Prjezjentacija gfks
 

Semelhante a Hadoop meetup 2014

WebGL - It's GO Time
WebGL - It's GO TimeWebGL - It's GO Time
WebGL - It's GO TimeTony Parisi
 
building_games_with_ruby_rubyconf
building_games_with_ruby_rubyconfbuilding_games_with_ruby_rubyconf
building_games_with_ruby_rubyconftutorialsruby
 
building_games_with_ruby_rubyconf
building_games_with_ruby_rubyconfbuilding_games_with_ruby_rubyconf
building_games_with_ruby_rubyconftutorialsruby
 
He stopped using for/while loops, you won't believe what happened next!
He stopped using for/while loops, you won't believe what happened next!He stopped using for/while loops, you won't believe what happened next!
He stopped using for/while loops, you won't believe what happened next!François-Guillaume Ribreau
 
[AI07] Revolutionizing Image Processing with Cognitive Toolkit
[AI07] Revolutionizing Image Processing with Cognitive Toolkit[AI07] Revolutionizing Image Processing with Cognitive Toolkit
[AI07] Revolutionizing Image Processing with Cognitive Toolkitde:code 2017
 
Agents In An Exponential World Foster
Agents In An Exponential World FosterAgents In An Exponential World Foster
Agents In An Exponential World FosterIan Foster
 
Systems Bioinformatics Workshop Keynote
Systems Bioinformatics Workshop KeynoteSystems Bioinformatics Workshop Keynote
Systems Bioinformatics Workshop KeynoteDeepak Singh
 
[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014Christopher Schmitt
 
European Robotics Forum 2014 Talk on Closing the Perception-Action Gap
European Robotics Forum 2014 Talk on Closing the Perception-Action GapEuropean Robotics Forum 2014 Talk on Closing the Perception-Action Gap
European Robotics Forum 2014 Talk on Closing the Perception-Action GapDariolakis
 
VR_Module_3_PPT.pptx
VR_Module_3_PPT.pptxVR_Module_3_PPT.pptx
VR_Module_3_PPT.pptxvrfv
 
Ta Lab Hour Feb9 2011 Bolin
Ta Lab Hour Feb9 2011 BolinTa Lab Hour Feb9 2011 Bolin
Ta Lab Hour Feb9 2011 Bolinchamberlinfaye
 
Tutorial 38 3D Print Coding
Tutorial 38 3D Print CodingTutorial 38 3D Print Coding
Tutorial 38 3D Print CodingMax Kleiner
 
D3: Easy and flexible data visualisation using web standards
D3: Easy and flexible data visualisation using web standardsD3: Easy and flexible data visualisation using web standards
D3: Easy and flexible data visualisation using web standardsJos Dirksen
 
Operational transformation
Operational transformationOperational transformation
Operational transformationMatteo Collina
 
Top 6 Innovations in 3D Printing - 3D Printing Service Toronto
Top 6 Innovations in 3D Printing - 3D Printing Service TorontoTop 6 Innovations in 3D Printing - 3D Printing Service Toronto
Top 6 Innovations in 3D Printing - 3D Printing Service Torontomechsolutions
 
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)Oleksii Prohonnyi
 
Alien Worlds: 3D Maps of Celestial Bodies with VTS
Alien Worlds: 3D Maps of Celestial Bodies with VTSAlien Worlds: 3D Maps of Celestial Bodies with VTS
Alien Worlds: 3D Maps of Celestial Bodies with VTSOndřej Procházka
 

Semelhante a Hadoop meetup 2014 (20)

WebGL - It's GO Time
WebGL - It's GO TimeWebGL - It's GO Time
WebGL - It's GO Time
 
building_games_with_ruby_rubyconf
building_games_with_ruby_rubyconfbuilding_games_with_ruby_rubyconf
building_games_with_ruby_rubyconf
 
building_games_with_ruby_rubyconf
building_games_with_ruby_rubyconfbuilding_games_with_ruby_rubyconf
building_games_with_ruby_rubyconf
 
He stopped using for/while loops, you won't believe what happened next!
He stopped using for/while loops, you won't believe what happened next!He stopped using for/while loops, you won't believe what happened next!
He stopped using for/while loops, you won't believe what happened next!
 
MDST 3703 F10 Studio 11
MDST 3703 F10 Studio 11MDST 3703 F10 Studio 11
MDST 3703 F10 Studio 11
 
[AI07] Revolutionizing Image Processing with Cognitive Toolkit
[AI07] Revolutionizing Image Processing with Cognitive Toolkit[AI07] Revolutionizing Image Processing with Cognitive Toolkit
[AI07] Revolutionizing Image Processing with Cognitive Toolkit
 
Agents In An Exponential World Foster
Agents In An Exponential World FosterAgents In An Exponential World Foster
Agents In An Exponential World Foster
 
Systems Bioinformatics Workshop Keynote
Systems Bioinformatics Workshop KeynoteSystems Bioinformatics Workshop Keynote
Systems Bioinformatics Workshop Keynote
 
[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014[CSSDevConf] Adaptive Images in Responsive Web Design 2014
[CSSDevConf] Adaptive Images in Responsive Web Design 2014
 
European Robotics Forum 2014 Talk on Closing the Perception-Action Gap
European Robotics Forum 2014 Talk on Closing the Perception-Action GapEuropean Robotics Forum 2014 Talk on Closing the Perception-Action Gap
European Robotics Forum 2014 Talk on Closing the Perception-Action Gap
 
VR_Module_3_PPT.pptx
VR_Module_3_PPT.pptxVR_Module_3_PPT.pptx
VR_Module_3_PPT.pptx
 
Ta Lab Hour Feb9 2011 Bolin
Ta Lab Hour Feb9 2011 BolinTa Lab Hour Feb9 2011 Bolin
Ta Lab Hour Feb9 2011 Bolin
 
Tutorial 38 3D Print Coding
Tutorial 38 3D Print CodingTutorial 38 3D Print Coding
Tutorial 38 3D Print Coding
 
Task 1
Task 1Task 1
Task 1
 
Introduction to D3.js
Introduction to D3.jsIntroduction to D3.js
Introduction to D3.js
 
D3: Easy and flexible data visualisation using web standards
D3: Easy and flexible data visualisation using web standardsD3: Easy and flexible data visualisation using web standards
D3: Easy and flexible data visualisation using web standards
 
Operational transformation
Operational transformationOperational transformation
Operational transformation
 
Top 6 Innovations in 3D Printing - 3D Printing Service Toronto
Top 6 Innovations in 3D Printing - 3D Printing Service TorontoTop 6 Innovations in 3D Printing - 3D Printing Service Toronto
Top 6 Innovations in 3D Printing - 3D Printing Service Toronto
 
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
 
Alien Worlds: 3D Maps of Celestial Bodies with VTS
Alien Worlds: 3D Maps of Celestial Bodies with VTSAlien Worlds: 3D Maps of Celestial Bodies with VTS
Alien Worlds: 3D Maps of Celestial Bodies with VTS
 

Último

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 

Último (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 

Hadoop meetup 2014

  • 3. Data Visualization (Meetup) Art UI/UX Data Coding Github: https://github.com/dudaspm/Pittsburgh-Data-Visualization
  • 5. Edward Tufte “With most visualizations and graphics, the main focus is to take multiple dimensions of information and project it on to a twodimension plot”
  • 7. When Graphics Go Bad 7  Challenger  January 28, 1986
  • 8. Can Anyone Spot the Problem? 8
  • 10. #1 Asked Question  I have “this data.”  What visualization should I use?  http://www.datavis.ca/gallery/evil-pies.php Data 12 34 43 10 35 23 22 9 Normalize Data 0.06383 0.180851 0.228723 0.053191 0.18617 0.12234 0.117021 0.047872 Visualization ?
  • 12. Hive Plots, Star Plots, and Parallel Coordinates
  • 13. Back to the #1 Asked Question  I have “this data.”  What  Ask visualization should I use? your users or experts
  • 14. How to Get to D3 HTML Javascript/JQuery XML SVG D3
  • 15. HTML <html> <head> <title>I am metadata</title> <script src="http://d3js.org/d3.v3.min.js"></script> </head> <body> the body of HTML </body> </html> http://boxnumbertwo.com/D3Simple/1.0/example1.html
  • 16. DIV <html> <head> <title>I am metadata</title> <script src="../d3/d3.min.js"></script> </head> <body> <div id="visualization_here"></div> </body> </html>
  • 17. Not Well Formatted HTML <html> <head> <title>I am a webpage</title> <script src="../d3/d3.min.js"></script> </header> <ody> <div id="visualization_here"></div> </body </html>
  • 18. XML (Must Be Well Formatted) <?xml version="1.0"?> <note> <to>Dave</to> <from>Jamie</from> <heading>Reminder</heading> <message>Don't forget me this weekend!</message> </note>
  • 19. SVG <svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="400px" height="400px"> <polygon points="200,10 250,190 160,210" style="fill:lime;stroke-width:1"/> </svg>
  • 20. SVG vs. Canvas or Vector vs. Raster  Canvas = Pixels  Raster  SVG  Points  Lines  Polygons  Vector
  • 21. D3 - http://d3js.org/  Data Driven Documents  Enter, Update, Exit  Interactions  Transitions  Big List of Examples (1900)  http://christopheviau.com/d3list/index.html
  • 22. D3.js   SVG, CSS, and HTML update   update your data enter enter svg objects using that data (example6) OR   exit    mouse events (example8) transitions (example9)   remove svg using that data (example7) smoothly change data example10 – adding affordances and a little fun
  • 23. Simple Exam of D3  var circleData = [4, 8, 15, 16, 23, 42]; http://boxnumbertwo.com/D3Simple/1.0/example6.html
  • 25. Adding Some Aesthetics var color = d3.scale.category10(); newCircles.enter().append("circle") .attr("cx", function(d) { return d*10; }) .attr("cy", function(d) { return d*10; }) .attr("r", function(d) { return d; }) .style("fill", function(d) { return color(d); }); http://boxnumbertwo.com/D3Simple/1.0/example7.html https://github.com/mbostock/d3/wiki/Ordinal-Scales#wiki-category10 http://boxnumbertwo.com/D3Simple/NetworkX/1.6/index.php?sizeOfGraph=60&Pro babilityOfEdge=.03
  • 27. Change Blindness  Minimizing changes in a scene to make visual changes more noticeable.
  • 28. Sometimes We Miss the Change     Change Blindness - phenomenon that occurs when a person viewing a visual scene apparently fails to detect large changes in the scene (Wikipedia) http://www.csc.ncsu.edu/faculty/healey/PP/mo vies/Dinner.gif http://www.csc.ncsu.edu/faculty/healey/PP/mo vies/Airplane.gif http://www.csc.ncsu.edu/faculty/healey/PP/mo vies/Chopper_Truck.gif
  • 29.
  • 30.
  • 32. Don Norman’s Design of Everyday Things 32   Builds on the notion of affordances Affordance – "refers to the perceived and actual properties of the thing, primarily those fundamental properties that determine just how the thing could possibly be used … Affordances provide strong clues to the operations of things" (Norman, 1988)  This can include objects or words/numbers! Norman, D. A. (1988). The design of everyday things. New York, Doubleday
  • 35. Trapped between the doors! 35   She was walking from one building to the other with a co-worker. They pulled the handles that opened the doors and went down the walkway. Upon reaching the other end they again pulled the handles, but the doors wouldn't budge. Assuming the doors were locked, they returned to the doors they originally opened to enter the walkway. But when they tried to pull open these doors, they wouldn't open either. They were trapped in the walkway between the two buildings! My friend and her co-worker spent the next few minutes trying to signal to people though the windows in the buildings, but the people they signaled seemed strangely reluctant to come to the rescue. Finally, after trying the doors again, they discovered they needed to push the doors rather than pull them.
  • 36. Let’s Add Some Affordances newCircles.enter().append("circle") .attr("cx", function(d) { return d*10; }) .attr("cy", function(d) { return d*10; }) .attr("r", function(d) { return d; }) .style("fill", function(d) { return color(d); }) .style("stroke-width", 0) .style("stroke", "black") .style("cursor", "pointer") // on mouse-over, change the border of the given circle to 2 .on("mouseover", function() {d3.select(this).style("strokewidth", 2)}) // on mouse-out, change the border back to the original (0) .on("mouseout", function() {d3.select(this).style("strokewidth", 0)}) http://boxnumbertwo.com/D3Simple/1.0/example10.html
  • 40. Matrix + Layers + Color = Heatmap redM.push(0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0) redM.push(0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0) redM.push(0,0,0,0,0,1,0,1,1,0,1,0,0,0,0,0) redM.push(0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0) redM.push(0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0) redM.push(0,0,0,0,1,1,1,0,0,1,1,1,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0) redM.push(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0); http://boxnumbertwo.com/D3Simple/mario/standing.html
  • 41. Chaining Transitions var t0 = vis.transition().ease('quadin').selectAll("rect"); t0.style("fill", function(d,i) { return marioColors[d[1][1]]; }); var t1 = t0.transition(); t1.style("fill", function(d,i) { return marioColors[d[2][1]]; }); http://boxnumbertwo.com/D3Simple/mario/marioMoving.html
  • 42. Javascript Timers + D3 = Animation var cloud_scale_1 = .8, cloud_translate_1 = [700,100]; setInterval(function(){moveCloud_1();},25); var boo_2 = 0; var cloud_scale_2 = .6, cloud_translate_2 = [0,300]; setInterval(function(){moveCloud_2();},30); var boo_3 = 0; var cloud_scale_3 = .7, cloud_translate_3 = [300,0]; setInterval(function(){moveCloud_3();},40); var boo_4 = 0; var cloud_scale_4 = .9, cloud_translate_4 = [500,200]; setInterval(function(){moveCloud_4();},55); http://boxnumbertwo.com/D3Simple/6.1/
  • 45. Ubiquitous Platform 45    Built upon HTML5 standards Does not require any additional software to be downloaded All major browsers:  IE,  Firefox, Chrome, Safari, Opera, etc. Supports all UTF-8 and Unicode character types
  • 46. Networks 46  James tweets: “Just saw @Dannie at the #Pittsburgh #Library. Checked out this book: http://bit.ly/U8AGsc”  Username -> Username:   Username -> Hashtag:   James -> Pittsburgh and James -> Library Hashtag -> Hashtag:   James -> Dannie Pittsburgh -> Library Username -> URL:  James -> http://bit.ly/U8AGsc
  • 48. Saliency and Network 48   limited to 100 nodes clustering algorithm    differentiated by color coding bias to inner-cluster strength to inter-cluster strength edge directionality bias inner-cluster vs. inter-cluster  log-based degree centrality st  highlight 1 degree Blondel, V. D.,connections Guillaume, J. L., Lambiotte, R., & Lefebvre, E. (2008). Fast unfolding of communities in large networks. Journal of  Statistical Mechanics: Theory and Experiment, 2008(10), P10008.
  • 50. Dynamic Query and Layout 50
  • 51. Export Network 51  Export:  UCINET  Gephi  Palantir  Pajek
  • 54. Sentiment Analysis 54 F. Å. Nielsen, "A new ANEW: Evaluation of a word list for sentiment analysis in microblogs," Arxiv preprint arXiv:1103.2903, 2011.
  • 55. Sentiment Analysis 55 Negative Words: • Sad • Murder • Disgust • WTF • Kill •  http://www.youtube.com/watch?v=ao6V_5sK3-A Positive Words: • Praise • Love • Dear • kind • Hope • 
  • 56. Thank you!  Contact:  dudaspm@gmail.com  Github:  https://github.com/dudaspm/Pittsburgh-Data- Visualization