SlideShare uma empresa Scribd logo
1 de 41
Communicating Results
Lab 4: your 5-7 things
Communicating with data
Really common visualisations
Quite common visualisations
Visualisation tools: Matplotlib and Tableau
Doing more: D3 and beyond
Communicating with Data
Engage your audience
Who are these people?
Demographics: which languages? What red flags?
What communications styles are they used to?
What channels are you using? Website, printed media, SMS?
What have you got for them?
Insights? answers? surprises?
Exploring or explaining?
Do you want to engage, persuade, inform or entertain?
Design rules
Storytelling:
Design for your medium (e.g paper)
Learn from the storytellers: have a beginning, middle and end
Use drill-down: summarise with visuals, but allow users to reach the data
Frame your message - why are you doing this, how did you get here
Visualisations:
Have graphical integrity (e.g. start bars at zero)
Really Common Visualisations
Multi-Line graph
Stacked Column Chart
Stacked Barchart
Scatterplot
Dashboards
Dashboards
More visualisation types
Name That Visualisation!
Common Visualisation Tools
Choosing a Visualisation Tool
What do you want to do?
Standard visualisations, or something special?
Inputs: files (e.g. CSV) or streaming data? Maps?
Non-roman languages (Arabic, Mandarin etc)?
Interactive or static?
Where do you want to do it?
Online or offline?
Any other restrictions?
Excel
Limited set of visualisation types
Not interactive
Offline
Static
Not free
Relatively easy
Widely used
Matplotlib
Python visualisation library
Not interactive
Not the prettiest (but does have ways to
make it prettier, e.g. Seaborn)
Good for quick-and-dirty views of data
Offline + Online
Free
Tableau
Tableau Public
Free
Interactive
Excel or text (CSV) import only
Public, and needs internet connection
Tableau Desktop
Not free (but free to students who ask)
Interactive
D3
Free
Interactive
Very very flexible = almost any
diagram you want
Steep learning curve
Works offline
Other Common Tools
Piktochart
Google fusion tables
Ggplot
Highcharts
NVD3
Matplotlib and Tableau exercises
Exercise: draw a line chart in Matplotlib
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 10, 100)
y = np.sin(x)
plt.plot(x, y)
That line chart
Exercise: draw a scatterplot
import matplotlib.pyplot as plt
import numpy as np
x = np.array([1,4,3,2,6,4,7,8])
y = np.array([3,5,4,3,7,6,4,9])
plt.scatter(x, y)
Add labels
fig, ax = plt.subplots()
plt.scatter(x, y)
ax.set_ylabel('This is the Y axis')
ax.set_xlabel('This is the X axis')
ax.set_title('This is the Title')
Exercise: Draw a stacked column chart in Tableau
Do this: Import data into Tableau
Get a copy of example file “cleaned_popstats.csv”
Open Tableau Public (click on the executable)
Click on “Text File”
Select “cleaned_popstats.csv”, then “open”
Congratulations - you’ve got data into Tableau
Now click on “sheet 1” at the bottom of the page
Do this: add rows
From sheet1:
● You should see a “show me” box on the top RHS: click on it, then the thing
that looks like a column chart (sigh: Tableau calls it “stacked bar”)
● Drag “asylum seekers” from under “Measures” to the “rows” box
Do this: add columns
● Drag “origin/ returned from” from under
“dimensions” to the “columns” box
● Right-click on “origin/returned from” in the
“columns” box.
● Click “sort…”
● Click “descending”
● Click “field”
● Click “okay”
Do this: remove a column from the graph
Right-click on “various” in the graph.
Click “Exclude”
Watch the graph scale to the new biggest value
(Democratic Republic of the Congo)
Do this: add colours
● Drag “Year” to color (under “Marks”)
The green is okay, but not easy to read:
● Click the little triangle that appears when
you hover over the new “Year” colours
box
● Click “Edit colors”
● Click “stepped color”
● Click the bar under “Palette”; click “Red
Blue Diverging” then “okay”
A stacked column chart in Tableau
D3 and Beyond
Drawing a Chord Diagram in D3: Online
Use the terminal window
cd to the directory containing file 4.3_d3_chord_online.html
In the terminal window, type:
python -m http.server 8899 &
Then go to http://0.0.0.0:8899/4.3_d3_chord_online.html in your browser
And hover your mouse over the circle edges...
(to exit, type control-c)
Drawing a Chord Diagram in D3: Offline
Copy your d3.js.zip file and the 4.4_d3_chord_offline.html file into a directory
Unzip d3.js.zip
In the directory your code is in, type:
python -m http.server 8899 &
Then go to http://0.0.0.0:8899/4.4_d3_chord_offline.html in your browser
And hover your mouse over the circle edges...
(to exit, type control-c)
That chord diagram
Communication doesn’t have to be complex
Communication doesn’t have to be “standard”
Exercises
Exercise: Design your visuals
Use pen and paper (or post-its) to design visualisations and dashboards for your
project

Mais conteúdo relacionado

Mais procurados

Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data ScienceANOOP V S
 
Introduction to Data Science - Week 4 - Tools and Technologies in Data Science
Introduction to Data Science - Week 4 - Tools and Technologies in Data ScienceIntroduction to Data Science - Week 4 - Tools and Technologies in Data Science
Introduction to Data Science - Week 4 - Tools and Technologies in Data ScienceFerdin Joe John Joseph PhD
 
Data Science: Not Just For Big Data
Data Science: Not Just For Big DataData Science: Not Just For Big Data
Data Science: Not Just For Big DataRevolution Analytics
 
Big data and data science overview
Big data and data science overviewBig data and data science overview
Big data and data science overviewColleen Farrelly
 
Data science
Data scienceData science
Data science9diov
 
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...Ilkay Altintas, Ph.D.
 
Data science presentation 2nd CI day
Data science presentation 2nd CI dayData science presentation 2nd CI day
Data science presentation 2nd CI dayMohammed Barakat
 
Data science applications and usecases
Data science applications and usecasesData science applications and usecases
Data science applications and usecasesSreenatha Reddy K R
 
Data science | What is Data science
Data science | What is Data scienceData science | What is Data science
Data science | What is Data scienceShilpaKrishna6
 
GTU GeekDay Data Science and Applications
GTU GeekDay Data Science and ApplicationsGTU GeekDay Data Science and Applications
GTU GeekDay Data Science and ApplicationsKürşat İNCE
 

Mais procurados (20)

Data science
Data scienceData science
Data science
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Data science
Data science Data science
Data science
 
Introduction to Data Science - Week 4 - Tools and Technologies in Data Science
Introduction to Data Science - Week 4 - Tools and Technologies in Data ScienceIntroduction to Data Science - Week 4 - Tools and Technologies in Data Science
Introduction to Data Science - Week 4 - Tools and Technologies in Data Science
 
Introduction to Data Science by Datalent Team @Data Science Clinic #9
Introduction to Data Science by Datalent Team @Data Science Clinic #9Introduction to Data Science by Datalent Team @Data Science Clinic #9
Introduction to Data Science by Datalent Team @Data Science Clinic #9
 
Data Science using Python
Data Science using PythonData Science using Python
Data Science using Python
 
Data Science: Not Just For Big Data
Data Science: Not Just For Big DataData Science: Not Just For Big Data
Data Science: Not Just For Big Data
 
Big data and data science overview
Big data and data science overviewBig data and data science overview
Big data and data science overview
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Data science
Data scienceData science
Data science
 
Data Science
Data ScienceData Science
Data Science
 
Lecture #01
Lecture #01Lecture #01
Lecture #01
 
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
Creating a Data Science Ecosystem for Scientific, Societal and Educational Im...
 
Data science presentation 2nd CI day
Data science presentation 2nd CI dayData science presentation 2nd CI day
Data science presentation 2nd CI day
 
Data science
Data scienceData science
Data science
 
Data science applications and usecases
Data science applications and usecasesData science applications and usecases
Data science applications and usecases
 
Data science | What is Data science
Data science | What is Data scienceData science | What is Data science
Data science | What is Data science
 
GTU GeekDay Data Science and Applications
GTU GeekDay Data Science and ApplicationsGTU GeekDay Data Science and Applications
GTU GeekDay Data Science and Applications
 
Data science 101
Data science 101Data science 101
Data science 101
 
data science
data sciencedata science
data science
 

Destaque

Electronic communication and knowledge systems
Electronic communication and knowledge systemsElectronic communication and knowledge systems
Electronic communication and knowledge systemsJarmo Saarikko
 
Communicating for results
Communicating for resultsCommunicating for results
Communicating for resultsJim Saylor
 
Communicating For Results
Communicating For ResultsCommunicating For Results
Communicating For ResultsKhalid Nasr
 
Dealing with difficult people brooke
Dealing with difficult people brookeDealing with difficult people brooke
Dealing with difficult people brookeAllison Johnson
 
dealing with difficult people
dealing with difficult peopledealing with difficult people
dealing with difficult peopleAllan Folsom
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and DesignAamir Abbas
 

Destaque (8)

Electronic communication and knowledge systems
Electronic communication and knowledge systemsElectronic communication and knowledge systems
Electronic communication and knowledge systems
 
Communicating for results
Communicating for resultsCommunicating for results
Communicating for results
 
Communicating results to stakeholders
Communicating results to stakeholdersCommunicating results to stakeholders
Communicating results to stakeholders
 
Communicating For Results
Communicating For ResultsCommunicating For Results
Communicating For Results
 
Puerto Dibulla
Puerto DibullaPuerto Dibulla
Puerto Dibulla
 
Dealing with difficult people brooke
Dealing with difficult people brookeDealing with difficult people brooke
Dealing with difficult people brooke
 
dealing with difficult people
dealing with difficult peopledealing with difficult people
dealing with difficult people
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 

Semelhante a Session 04 communicating results

Datascape Introduction
Datascape IntroductionDatascape Introduction
Datascape IntroductionDaden Limited
 
datavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfdatavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfBrijeshPatil13
 
Data visualization using py plot part i
Data visualization using py plot part iData visualization using py plot part i
Data visualization using py plot part iTutorialAICSIP
 
LECTURE 6 DESIGN, DEBasd, INTERFACES.pdf
LECTURE 6 DESIGN, DEBasd, INTERFACES.pdfLECTURE 6 DESIGN, DEBasd, INTERFACES.pdf
LECTURE 6 DESIGN, DEBasd, INTERFACES.pdfShashikantSathe3
 
LECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdf
LECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdfLECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdf
LECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdfSHASHIKANT346021
 
Design handoffs with design systems in mind
Design handoffs with design systems in mindDesign handoffs with design systems in mind
Design handoffs with design systems in mindRoland Lösslein
 
Introduction to Network Analysis in Gephi
Introduction to Network Analysis in GephiIntroduction to Network Analysis in Gephi
Introduction to Network Analysis in GephiVictor Blaer
 
UNIT_4_data visualization.pptx
UNIT_4_data visualization.pptxUNIT_4_data visualization.pptx
UNIT_4_data visualization.pptxBhagyasriPatel2
 
Graphs made easy with SAS ODS Graphics Designer (PAPER)
Graphs made easy with SAS ODS Graphics Designer (PAPER)Graphs made easy with SAS ODS Graphics Designer (PAPER)
Graphs made easy with SAS ODS Graphics Designer (PAPER)Kevin Lee
 
Data visualization training session HELCOM
Data visualization training session HELCOMData visualization training session HELCOM
Data visualization training session HELCOMManuel Frias
 
Apache Spark GraphX highlights.
Apache Spark GraphX highlights. Apache Spark GraphX highlights.
Apache Spark GraphX highlights. Doug Needham
 
Technology in maths and maths in technology
Technology  in maths and maths in technologyTechnology  in maths and maths in technology
Technology in maths and maths in technologyshajunisha
 
Data visualization tools & techniques - 1
Data visualization tools & techniques - 1Data visualization tools & techniques - 1
Data visualization tools & techniques - 1Korivi Sravan Kumar
 
Remix Your Data: Visualizing Library Instruction Statistics
Remix Your Data: Visualizing Library Instruction StatisticsRemix Your Data: Visualizing Library Instruction Statistics
Remix Your Data: Visualizing Library Instruction StatisticsBrianna Marshall
 
How to Create Mind Maps with SmartDraw
How to Create Mind Maps with SmartDrawHow to Create Mind Maps with SmartDraw
How to Create Mind Maps with SmartDrawSmartDraw Software
 

Semelhante a Session 04 communicating results (20)

Datascape Introduction
Datascape IntroductionDatascape Introduction
Datascape Introduction
 
datavisualization-5thUnit.pdf
datavisualization-5thUnit.pdfdatavisualization-5thUnit.pdf
datavisualization-5thUnit.pdf
 
Data visualization using py plot part i
Data visualization using py plot part iData visualization using py plot part i
Data visualization using py plot part i
 
LECTURE 6 DESIGN, DEBasd, INTERFACES.pdf
LECTURE 6 DESIGN, DEBasd, INTERFACES.pdfLECTURE 6 DESIGN, DEBasd, INTERFACES.pdf
LECTURE 6 DESIGN, DEBasd, INTERFACES.pdf
 
LECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdf
LECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdfLECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdf
LECTURE 6 DESIGN, DEBUGGING, INTERFACES.pdf
 
Mathcad
MathcadMathcad
Mathcad
 
Design handoffs with design systems in mind
Design handoffs with design systems in mindDesign handoffs with design systems in mind
Design handoffs with design systems in mind
 
Introduction to Network Analysis in Gephi
Introduction to Network Analysis in GephiIntroduction to Network Analysis in Gephi
Introduction to Network Analysis in Gephi
 
Introduction to r
Introduction to rIntroduction to r
Introduction to r
 
12-IP.pdf
12-IP.pdf12-IP.pdf
12-IP.pdf
 
UNIT_4_data visualization.pptx
UNIT_4_data visualization.pptxUNIT_4_data visualization.pptx
UNIT_4_data visualization.pptx
 
manual.docx
manual.docxmanual.docx
manual.docx
 
Graphs made easy with SAS ODS Graphics Designer (PAPER)
Graphs made easy with SAS ODS Graphics Designer (PAPER)Graphs made easy with SAS ODS Graphics Designer (PAPER)
Graphs made easy with SAS ODS Graphics Designer (PAPER)
 
Data visualization training session HELCOM
Data visualization training session HELCOMData visualization training session HELCOM
Data visualization training session HELCOM
 
Apache Spark GraphX highlights.
Apache Spark GraphX highlights. Apache Spark GraphX highlights.
Apache Spark GraphX highlights.
 
Technology in maths and maths in technology
Technology  in maths and maths in technologyTechnology  in maths and maths in technology
Technology in maths and maths in technology
 
Basics of R
Basics of RBasics of R
Basics of R
 
Data visualization tools & techniques - 1
Data visualization tools & techniques - 1Data visualization tools & techniques - 1
Data visualization tools & techniques - 1
 
Remix Your Data: Visualizing Library Instruction Statistics
Remix Your Data: Visualizing Library Instruction StatisticsRemix Your Data: Visualizing Library Instruction Statistics
Remix Your Data: Visualizing Library Instruction Statistics
 
How to Create Mind Maps with SmartDraw
How to Create Mind Maps with SmartDrawHow to Create Mind Maps with SmartDraw
How to Create Mind Maps with SmartDraw
 

Mais de bodaceacat

CansecWest2019: Infosec Frameworks for Misinformation
CansecWest2019: Infosec Frameworks for MisinformationCansecWest2019: Infosec Frameworks for Misinformation
CansecWest2019: Infosec Frameworks for Misinformationbodaceacat
 
2019 11 terp_breuer_disclosure_master
2019 11 terp_breuer_disclosure_master2019 11 terp_breuer_disclosure_master
2019 11 terp_breuer_disclosure_masterbodaceacat
 
Terp breuer misinfosecframeworks_cansecwest2019
Terp breuer misinfosecframeworks_cansecwest2019Terp breuer misinfosecframeworks_cansecwest2019
Terp breuer misinfosecframeworks_cansecwest2019bodaceacat
 
Misinfosec frameworks Cansecwest 2019
Misinfosec frameworks Cansecwest 2019Misinfosec frameworks Cansecwest 2019
Misinfosec frameworks Cansecwest 2019bodaceacat
 
Sjterp ds_of_misinfo_feb_2019
Sjterp ds_of_misinfo_feb_2019Sjterp ds_of_misinfo_feb_2019
Sjterp ds_of_misinfo_feb_2019bodaceacat
 
Practical Influence Operations, presentation at Sofwerx Dec 2018
Practical Influence Operations, presentation at Sofwerx Dec 2018Practical Influence Operations, presentation at Sofwerx Dec 2018
Practical Influence Operations, presentation at Sofwerx Dec 2018bodaceacat
 
Session 09 learning relationships.pptx
Session 09 learning relationships.pptxSession 09 learning relationships.pptx
Session 09 learning relationships.pptxbodaceacat
 
Session 08 geospatial data
Session 08 geospatial dataSession 08 geospatial data
Session 08 geospatial databodaceacat
 
Session 07 text data.pptx
Session 07 text data.pptxSession 07 text data.pptx
Session 07 text data.pptxbodaceacat
 
Session 06 machine learning.pptx
Session 06 machine learning.pptxSession 06 machine learning.pptx
Session 06 machine learning.pptxbodaceacat
 
Session 05 cleaning and exploring
Session 05 cleaning and exploringSession 05 cleaning and exploring
Session 05 cleaning and exploringbodaceacat
 
Session 03 acquiring data
Session 03 acquiring dataSession 03 acquiring data
Session 03 acquiring databodaceacat
 
Session 02 python basics
Session 02 python basicsSession 02 python basics
Session 02 python basicsbodaceacat
 
Gp technologybuilds july2011
Gp technologybuilds july2011Gp technologybuilds july2011
Gp technologybuilds july2011bodaceacat
 
Gp technologybuilds july2011
Gp technologybuilds july2011Gp technologybuilds july2011
Gp technologybuilds july2011bodaceacat
 
Ardrone represent
Ardrone representArdrone represent
Ardrone representbodaceacat
 
Global pulse app connection manager
Global pulse app connection managerGlobal pulse app connection manager
Global pulse app connection managerbodaceacat
 
Un Pulse Camp - Humanitarian Innovation
Un Pulse Camp - Humanitarian InnovationUn Pulse Camp - Humanitarian Innovation
Un Pulse Camp - Humanitarian Innovationbodaceacat
 
Blue light services
Blue light servicesBlue light services
Blue light servicesbodaceacat
 
Rhok and opendata hackathon intro
Rhok and opendata hackathon introRhok and opendata hackathon intro
Rhok and opendata hackathon introbodaceacat
 

Mais de bodaceacat (20)

CansecWest2019: Infosec Frameworks for Misinformation
CansecWest2019: Infosec Frameworks for MisinformationCansecWest2019: Infosec Frameworks for Misinformation
CansecWest2019: Infosec Frameworks for Misinformation
 
2019 11 terp_breuer_disclosure_master
2019 11 terp_breuer_disclosure_master2019 11 terp_breuer_disclosure_master
2019 11 terp_breuer_disclosure_master
 
Terp breuer misinfosecframeworks_cansecwest2019
Terp breuer misinfosecframeworks_cansecwest2019Terp breuer misinfosecframeworks_cansecwest2019
Terp breuer misinfosecframeworks_cansecwest2019
 
Misinfosec frameworks Cansecwest 2019
Misinfosec frameworks Cansecwest 2019Misinfosec frameworks Cansecwest 2019
Misinfosec frameworks Cansecwest 2019
 
Sjterp ds_of_misinfo_feb_2019
Sjterp ds_of_misinfo_feb_2019Sjterp ds_of_misinfo_feb_2019
Sjterp ds_of_misinfo_feb_2019
 
Practical Influence Operations, presentation at Sofwerx Dec 2018
Practical Influence Operations, presentation at Sofwerx Dec 2018Practical Influence Operations, presentation at Sofwerx Dec 2018
Practical Influence Operations, presentation at Sofwerx Dec 2018
 
Session 09 learning relationships.pptx
Session 09 learning relationships.pptxSession 09 learning relationships.pptx
Session 09 learning relationships.pptx
 
Session 08 geospatial data
Session 08 geospatial dataSession 08 geospatial data
Session 08 geospatial data
 
Session 07 text data.pptx
Session 07 text data.pptxSession 07 text data.pptx
Session 07 text data.pptx
 
Session 06 machine learning.pptx
Session 06 machine learning.pptxSession 06 machine learning.pptx
Session 06 machine learning.pptx
 
Session 05 cleaning and exploring
Session 05 cleaning and exploringSession 05 cleaning and exploring
Session 05 cleaning and exploring
 
Session 03 acquiring data
Session 03 acquiring dataSession 03 acquiring data
Session 03 acquiring data
 
Session 02 python basics
Session 02 python basicsSession 02 python basics
Session 02 python basics
 
Gp technologybuilds july2011
Gp technologybuilds july2011Gp technologybuilds july2011
Gp technologybuilds july2011
 
Gp technologybuilds july2011
Gp technologybuilds july2011Gp technologybuilds july2011
Gp technologybuilds july2011
 
Ardrone represent
Ardrone representArdrone represent
Ardrone represent
 
Global pulse app connection manager
Global pulse app connection managerGlobal pulse app connection manager
Global pulse app connection manager
 
Un Pulse Camp - Humanitarian Innovation
Un Pulse Camp - Humanitarian InnovationUn Pulse Camp - Humanitarian Innovation
Un Pulse Camp - Humanitarian Innovation
 
Blue light services
Blue light servicesBlue light services
Blue light services
 
Rhok and opendata hackathon intro
Rhok and opendata hackathon introRhok and opendata hackathon intro
Rhok and opendata hackathon intro
 

Último

BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 

Último (20)

BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 

Session 04 communicating results

  • 2. Lab 4: your 5-7 things Communicating with data Really common visualisations Quite common visualisations Visualisation tools: Matplotlib and Tableau Doing more: D3 and beyond
  • 4. Engage your audience Who are these people? Demographics: which languages? What red flags? What communications styles are they used to? What channels are you using? Website, printed media, SMS? What have you got for them? Insights? answers? surprises? Exploring or explaining? Do you want to engage, persuade, inform or entertain?
  • 5. Design rules Storytelling: Design for your medium (e.g paper) Learn from the storytellers: have a beginning, middle and end Use drill-down: summarise with visuals, but allow users to reach the data Frame your message - why are you doing this, how did you get here Visualisations: Have graphical integrity (e.g. start bars at zero)
  • 16. Choosing a Visualisation Tool What do you want to do? Standard visualisations, or something special? Inputs: files (e.g. CSV) or streaming data? Maps? Non-roman languages (Arabic, Mandarin etc)? Interactive or static? Where do you want to do it? Online or offline? Any other restrictions?
  • 17. Excel Limited set of visualisation types Not interactive Offline Static Not free Relatively easy Widely used
  • 18. Matplotlib Python visualisation library Not interactive Not the prettiest (but does have ways to make it prettier, e.g. Seaborn) Good for quick-and-dirty views of data Offline + Online Free
  • 19. Tableau Tableau Public Free Interactive Excel or text (CSV) import only Public, and needs internet connection Tableau Desktop Not free (but free to students who ask) Interactive
  • 20. D3 Free Interactive Very very flexible = almost any diagram you want Steep learning curve Works offline
  • 21. Other Common Tools Piktochart Google fusion tables Ggplot Highcharts NVD3
  • 23. Exercise: draw a line chart in Matplotlib %matplotlib inline import matplotlib.pyplot as plt import numpy as np x = np.linspace(0, 10, 100) y = np.sin(x) plt.plot(x, y)
  • 25. Exercise: draw a scatterplot import matplotlib.pyplot as plt import numpy as np x = np.array([1,4,3,2,6,4,7,8]) y = np.array([3,5,4,3,7,6,4,9]) plt.scatter(x, y)
  • 26. Add labels fig, ax = plt.subplots() plt.scatter(x, y) ax.set_ylabel('This is the Y axis') ax.set_xlabel('This is the X axis') ax.set_title('This is the Title')
  • 27. Exercise: Draw a stacked column chart in Tableau
  • 28. Do this: Import data into Tableau Get a copy of example file “cleaned_popstats.csv” Open Tableau Public (click on the executable) Click on “Text File” Select “cleaned_popstats.csv”, then “open” Congratulations - you’ve got data into Tableau Now click on “sheet 1” at the bottom of the page
  • 29. Do this: add rows From sheet1: ● You should see a “show me” box on the top RHS: click on it, then the thing that looks like a column chart (sigh: Tableau calls it “stacked bar”) ● Drag “asylum seekers” from under “Measures” to the “rows” box
  • 30. Do this: add columns ● Drag “origin/ returned from” from under “dimensions” to the “columns” box ● Right-click on “origin/returned from” in the “columns” box. ● Click “sort…” ● Click “descending” ● Click “field” ● Click “okay”
  • 31. Do this: remove a column from the graph Right-click on “various” in the graph. Click “Exclude” Watch the graph scale to the new biggest value (Democratic Republic of the Congo)
  • 32. Do this: add colours ● Drag “Year” to color (under “Marks”) The green is okay, but not easy to read: ● Click the little triangle that appears when you hover over the new “Year” colours box ● Click “Edit colors” ● Click “stepped color” ● Click the bar under “Palette”; click “Red Blue Diverging” then “okay”
  • 33. A stacked column chart in Tableau
  • 35. Drawing a Chord Diagram in D3: Online Use the terminal window cd to the directory containing file 4.3_d3_chord_online.html In the terminal window, type: python -m http.server 8899 & Then go to http://0.0.0.0:8899/4.3_d3_chord_online.html in your browser And hover your mouse over the circle edges... (to exit, type control-c)
  • 36. Drawing a Chord Diagram in D3: Offline Copy your d3.js.zip file and the 4.4_d3_chord_offline.html file into a directory Unzip d3.js.zip In the directory your code is in, type: python -m http.server 8899 & Then go to http://0.0.0.0:8899/4.4_d3_chord_offline.html in your browser And hover your mouse over the circle edges... (to exit, type control-c)
  • 39. Communication doesn’t have to be “standard”
  • 41. Exercise: Design your visuals Use pen and paper (or post-its) to design visualisations and dashboards for your project

Notas do Editor

  1. Red flags: things you really need to be careful of. For example: using orange and green for an Irish audience.
  2. See http://extremepresentation.typepad.com/blog/files/choosing_a_good_chart.pdf for advice on choosing the right chart type.. Sometimes it’s appropriate to throw data and graphs at the user, and let them work it out on their own, but usually drill-down and a story is the answer. See Alberto Cairo’s work for more details.
  3. All these examples are in Tableau Gallery here: https://public.tableau.com/profile/sara.terp#!/vizhome/DS_session_example/exampledashboard and in Tableau Desktop here: https://github.com/bodacea/inafu6513/blob/master/Notebooks/4.2 Tableau_example.twb
  4. You can put visualisations and text together in a dashboard. You can also link these visualisations, so that when you click on a point in one visualisation, data relevant to that point is shown in another.
  5. This is india’s government employee attendance dashboard. If you look at the bottom of Tableau, there’s a dashboard button.
  6. Other visualisation types you’ll see a lot include Chord diagram, Sankey diagram, Choropleth, symbol map
  7. http://www.visual-literacy.org/periodic_table/periodic_table.html
  8. To create this chart: copied the asylum seeker data into an excel spreadsheet. Created a pivot table from the data. Created a chart from the pivot table. Did lots of fussing around to get chart elements in the right place/ filtered. Still more fussing needed to get e.g. the legend right.
  9. The image is one of the Piktochart templates. Infographics aren’t immediate outputs from python code, but can be very powerful.
  10. NB: You only need the %matplotlib inline in an ipython notebook.
  11. plt.subplots creates a plot on your drawing ‘canvas’. It’s what we usually use to create a group of plots. Here, we’re using it to get at the axes (ax) for this visualisation.
  12. Data file is here is you get stuck: https://github.com/bodacea/inafu6513/blob/master/example_data/cleaned_popstats.csv
  13. Don’t panic when “asylum seekers” becomes “SUM(Asylum seekers)” in the Rows box. This is normal.
  14. At this point, you’re probably wondering why the columns are so small
  15. Okay, “Various” is huge, and not helping the graph much. Let’s remove it.
  16. The green is okay, but not easy to read.
  17. Also available at https://public.tableau.com/profile/publish/DS_session_example/Sheet1#!/publish-confirm
  18. This starts a webserver on your PC, that you can then go to and look at your D3 file in. NB I changed the channel to 8899 because the standard (8888) clashes with the ipython notebook server. Chord example is from http://bl.ocks.org/mbostock/4062006 CORRECTION: the space in the filename was making your code crash. Try again!
  19. The difference between the two files is in where the D3 code comes from. In the online version, the D3 code is at //d3js.org/d3.v3.min.js (the d3.v3.min.js file is a version of d3.js with all the whitespace and comments taken out to make it smaller); In the offline version, the D3 code is on your pc, in file d3.js the d3 directory. Bugz: you might get an error message saying “Address already in use”. This is bad and naughty, but to quickly fix it, try: in the terminal window, type “ps -a” Note the number at the left of the line that looks like “7064 ttys000 0:00.16 python -m http.server 8899” type “kill -9 7064” (or whatever your number was). Note: this is a very powerful command: make sure you’re using the right number, or you might accidentally shut down your machine…
  20. Image: Hans Rosling video.