SlideShare a Scribd company logo
1 of 26
Download to read offline
Data
Visualization
Elements
Exploring Fire Incidents in San Jose
Laurie Reynolds
April, 2016
“Beauty on data visualization arises from hitting a certain
sweet spot between order and chaos, exactly the point where
the information is really rich and seems infinite, but there is
still enough structure and guidance to lead you from one
interesting discovery to the next one.”
2
Moritz Stefaner
Data Visualization Designer (OECD, World Economic Forum, …)
http://truth-and-beauty.net/about
Source: http://visualoop.com/blog/19269/talking-with-moritz-stefaner
Agenda
● Demo of the Fire Incident Data
● Elements of a Visualization
● Steps to creating the San Jose January 2015 Fire Incident Visualization
● Design Discussion
3
Demo Fire Incident Visualization
4http://codeforsanjose.github.io/dashboards/dashboards/fire-data-explorer/index.html#
Elements of a Data Visualization
5
Internet
● Infinite capacity
● Data from any time is available
● Variety of presentation elements
● On Demand
● Highly interactive
● Customizable
● Integrate with other sources
Data Visualization in different media
Television & Newspaper
● Brief (2 minutes/ columns)
● Current news
● Video/Text oriented
● 12 hour cycle
● Passive
● Fixed format
● Static content
6
7Source: http://www.informationisbeautiful.net/visualizations/what-makes-a-good-data-visualization/
Fire Incident Visualization
8
Interaction
● Select filters / reset
● Select chart elements
● Map - zoom
● Hover
● Links
Visual
● Colors
● Layout
● Chart type
● Map shapes
● Chart animation
● Map Zoom
Information
● Chart annotations
● Map annotations
● Description
Data
● Stations
● Incidents
Story
Fire incidents in San Jose from
January 2015
Goal
Create an exploratory
visualization for people to
discover their own insights
Exploring January 2015 Fire Incidents
9
Understand the data
Prepare the data
Identify the story
Create/Refine the
visualization
Feedback & review
Collect the data
Verify
Publish
10
Steps to creating the San
Jose January 2015 Fire
Datavisualization
Story - Every fire incident point represents multiple people
Call taker
Call responders
Data Consumers
Caller
Person(s) in need
Person(s) affected by the
incident
People associated with the incident
Policy Makers - how
should we allocate funds
& resources?
Voters - How should I
vote on issues? How
will decisions impact
me?
Reporters/ Residents -
what is happening in the
community?
Employees - How will
my job change?
11
Goal
● Provide an exploratory visualization of San Jose
January, 2015 Fire Incident calls
● Provide a way for people to see incidents related to a
specific area of San Jose
12
Collect the data
13
Data.sanjose.gov
● http://data.sanjoseca.gov/dataviews/226237/san-
jose-fire-incidents-jan-2015/
San Jose Fire Stations
● http://www.sanjoseca.gov/index.aspx?NID=755
Understand the data
Data Fields
● Incident number
● Date Time of Event
● Dispatched Time
● Unit on the way time
● On Scene Unit
● Cleared Time
● Unit Count
● Priority - (Priority 1 | Priority 2 | Priority 1 or
Priority 2)
● Final Incident Type - (Medical | Fire & other)
● Final Incident Category
Questions
1) Map units responding to
stations
2) 800 units were uncategorized
3) How long does it take to make
data public? (January, 2015)
14
Prepare the data
● Removed entries where there were no units responding
● Grouped data by day and time of day
● Convert station address to latitude and longitude
15
Create the visualization - prototype
16
Create the visualization
17
Create the visualization - Terrific tools make it easy
● HTML
● CSS
● Javascript
○ Leaflet.js - Library for building interactive maps
■ http://leafletjs.com/
○ DC - Dimensional charting library
■ https://dc-js.github.io/dc.js/
■ D3 - “D3.js is a JavaScript library for manipulating documents based on data”
● https://d3js.org/
■ Crossfilter - Filtering library for multidimensional views
● http://square.github.io/crossfilter/
18
Leaflet.js
19http://leafletjs.com/
Charts - DC.js - Crossfilter + D3
1) Load your data
2) Generate your dimension & group
3) Apply to chart
http://bl.ocks.org/jun9/raw/5631952/
20
Verify & Publish
Verify
● Annotate to indicate it is for demo only and not an official San
Jose site
● Initial version the incident durations were not correctly
bucketed.
Publish
● Github static pages
○ http://codeforsanjose.github.io/dashboards/dashboards/fire-data-explorer/index.html#
21
8,000+ calls / month!
I bet most of them
occurred during the
weekend
Which unit
responded to the
most incidents?
● What questions do your stakeholders have?
● What might change given the answer to the
questions?
I wonder how many
incidents occurred
in my neighborhood
22
What story would you tell?
23
Laurie Reynolds
email: laurie_reynolds@yahoo.com | LinkedIn: https://www.linkedin.com/in/lauriesreynolds
24
Human Centered Design User Advocate
Continuous Curiosity
Design software to be beautiful
inside and out
Collaboration Systems Thinking Analytics & Visualizations
Mission Critical
Life Sciences
Finance
Media
Government
Knight Ridder Financial
Knight Ridder New Media
(San Jose Mercury News Online)
Resources
25
26
Resource Link
Leaflet.js
Library for building interactive maps
http://leafletjs.com/
DC
Dimensional charting library
https://dc-js.github.io/dc.js/
D3
Data Driven Documents
https://d3js.org/
Web Developers Checklist http://webdevchecklist.com/
Data Visualization Checklist http://stephanieevergreen.com/wp-
content/uploads/2014/05/DataVizChec
klist_May2014.pdf
Visualization: http://codeforsanjose.github.
io/dashboards/dashboards/fire-data-explorer/index.
html#
Code: https://github.
com/codeforsanjose/dashboards/tree/master/dashbo
ards/fire-data-explorer
Data Visualization Elements - Resources

More Related Content

Similar to Fire incident data visualization

Intro to data visualisation
Intro to data visualisationIntro to data visualisation
Intro to data visualisationAnna Gerber
 
Advanced Analytics and Machine Learning with Data Virtualization
Advanced Analytics and Machine Learning with Data VirtualizationAdvanced Analytics and Machine Learning with Data Virtualization
Advanced Analytics and Machine Learning with Data VirtualizationDenodo
 
tableau material, to creat a good and wonderful presentation
tableau material, to creat a good and wonderful presentationtableau material, to creat a good and wonderful presentation
tableau material, to creat a good and wonderful presentationIruolagbePius
 
BizTech2017 Presentation
BizTech2017 PresentationBizTech2017 Presentation
BizTech2017 PresentationRaquel Seville
 
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics PlatformWSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics PlatformWSO2
 
AI, ML and Graph Algorithms: Real Life Use Cases with Neo4j
AI, ML and Graph Algorithms: Real Life Use Cases with Neo4jAI, ML and Graph Algorithms: Real Life Use Cases with Neo4j
AI, ML and Graph Algorithms: Real Life Use Cases with Neo4jIvan Zoratti
 
Web Scraping_ Gathering Data from Websites.pptx
Web Scraping_ Gathering Data from Websites.pptxWeb Scraping_ Gathering Data from Websites.pptx
Web Scraping_ Gathering Data from Websites.pptxHitechIOT
 
An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform   An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform Sriskandarajah Suhothayan
 
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...Neo4j
 
Data Science & Data Products at Neue Zürcher Zeitung
Data Science & Data Products at Neue Zürcher ZeitungData Science & Data Products at Neue Zürcher Zeitung
Data Science & Data Products at Neue Zürcher ZeitungRené Pfitzner
 
Interdisciplinary Project on OpenEventMap
Interdisciplinary Project on OpenEventMapInterdisciplinary Project on OpenEventMap
Interdisciplinary Project on OpenEventMapBibek Shrestha
 
Boost your data analytics with open data and public news content
Boost your data analytics with open data and public news contentBoost your data analytics with open data and public news content
Boost your data analytics with open data and public news contentOntotext
 
Crunching the numbers: Open Source Community Metrics at OSCON
Crunching the numbers: Open Source Community Metrics at OSCONCrunching the numbers: Open Source Community Metrics at OSCON
Crunching the numbers: Open Source Community Metrics at OSCONDawn Foster
 
Crunching the numbers: Open Source Community Metrics
Crunching the numbers: Open Source Community MetricsCrunching the numbers: Open Source Community Metrics
Crunching the numbers: Open Source Community MetricsDawn Foster
 
Local Weather Information and GNOME Shell Extension
Local Weather Information and GNOME Shell ExtensionLocal Weather Information and GNOME Shell Extension
Local Weather Information and GNOME Shell ExtensionSammy Fung
 
TadHenryResume2016
TadHenryResume2016TadHenryResume2016
TadHenryResume2016Tad Henry
 
Live topic generation from event streams
Live topic generation from event streamsLive topic generation from event streams
Live topic generation from event streamsRaphael Troncy
 

Similar to Fire incident data visualization (20)

Intro to data visualisation
Intro to data visualisationIntro to data visualisation
Intro to data visualisation
 
Advanced Analytics and Machine Learning with Data Virtualization
Advanced Analytics and Machine Learning with Data VirtualizationAdvanced Analytics and Machine Learning with Data Virtualization
Advanced Analytics and Machine Learning with Data Virtualization
 
tableau material, to creat a good and wonderful presentation
tableau material, to creat a good and wonderful presentationtableau material, to creat a good and wonderful presentation
tableau material, to creat a good and wonderful presentation
 
BizTech2017 Presentation
BizTech2017 PresentationBizTech2017 Presentation
BizTech2017 Presentation
 
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics PlatformWSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
 
AI, ML and Graph Algorithms: Real Life Use Cases with Neo4j
AI, ML and Graph Algorithms: Real Life Use Cases with Neo4jAI, ML and Graph Algorithms: Real Life Use Cases with Neo4j
AI, ML and Graph Algorithms: Real Life Use Cases with Neo4j
 
Web Scraping_ Gathering Data from Websites.pptx
Web Scraping_ Gathering Data from Websites.pptxWeb Scraping_ Gathering Data from Websites.pptx
Web Scraping_ Gathering Data from Websites.pptx
 
Big Data - What the Heck?
Big Data - What the Heck?Big Data - What the Heck?
Big Data - What the Heck?
 
What the Heck is Big Data?
What the Heck is Big Data?What the Heck is Big Data?
What the Heck is Big Data?
 
An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform   An introduction to the WSO2 Analytics Platform
An introduction to the WSO2 Analytics Platform
 
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...Geschäftliches Potential für System-Integratoren und Berater -  Graphdatenban...
Geschäftliches Potential für System-Integratoren und Berater - Graphdatenban...
 
Scaling Your Data: Data Democratisation and DataOps
Scaling Your Data: Data Democratisation and DataOpsScaling Your Data: Data Democratisation and DataOps
Scaling Your Data: Data Democratisation and DataOps
 
Data Science & Data Products at Neue Zürcher Zeitung
Data Science & Data Products at Neue Zürcher ZeitungData Science & Data Products at Neue Zürcher Zeitung
Data Science & Data Products at Neue Zürcher Zeitung
 
Interdisciplinary Project on OpenEventMap
Interdisciplinary Project on OpenEventMapInterdisciplinary Project on OpenEventMap
Interdisciplinary Project on OpenEventMap
 
Boost your data analytics with open data and public news content
Boost your data analytics with open data and public news contentBoost your data analytics with open data and public news content
Boost your data analytics with open data and public news content
 
Crunching the numbers: Open Source Community Metrics at OSCON
Crunching the numbers: Open Source Community Metrics at OSCONCrunching the numbers: Open Source Community Metrics at OSCON
Crunching the numbers: Open Source Community Metrics at OSCON
 
Crunching the numbers: Open Source Community Metrics
Crunching the numbers: Open Source Community MetricsCrunching the numbers: Open Source Community Metrics
Crunching the numbers: Open Source Community Metrics
 
Local Weather Information and GNOME Shell Extension
Local Weather Information and GNOME Shell ExtensionLocal Weather Information and GNOME Shell Extension
Local Weather Information and GNOME Shell Extension
 
TadHenryResume2016
TadHenryResume2016TadHenryResume2016
TadHenryResume2016
 
Live topic generation from event streams
Live topic generation from event streamsLive topic generation from event streams
Live topic generation from event streams
 

Recently uploaded

WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfkalichargn70th171
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...masabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 

Recently uploaded (20)

WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Knoxville Psychic Readings, Attraction spells,Br...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 

Fire incident data visualization

  • 1. Data Visualization Elements Exploring Fire Incidents in San Jose Laurie Reynolds April, 2016
  • 2. “Beauty on data visualization arises from hitting a certain sweet spot between order and chaos, exactly the point where the information is really rich and seems infinite, but there is still enough structure and guidance to lead you from one interesting discovery to the next one.” 2 Moritz Stefaner Data Visualization Designer (OECD, World Economic Forum, …) http://truth-and-beauty.net/about Source: http://visualoop.com/blog/19269/talking-with-moritz-stefaner
  • 3. Agenda ● Demo of the Fire Incident Data ● Elements of a Visualization ● Steps to creating the San Jose January 2015 Fire Incident Visualization ● Design Discussion 3
  • 4. Demo Fire Incident Visualization 4http://codeforsanjose.github.io/dashboards/dashboards/fire-data-explorer/index.html#
  • 5. Elements of a Data Visualization 5
  • 6. Internet ● Infinite capacity ● Data from any time is available ● Variety of presentation elements ● On Demand ● Highly interactive ● Customizable ● Integrate with other sources Data Visualization in different media Television & Newspaper ● Brief (2 minutes/ columns) ● Current news ● Video/Text oriented ● 12 hour cycle ● Passive ● Fixed format ● Static content 6
  • 8. Fire Incident Visualization 8 Interaction ● Select filters / reset ● Select chart elements ● Map - zoom ● Hover ● Links Visual ● Colors ● Layout ● Chart type ● Map shapes ● Chart animation ● Map Zoom Information ● Chart annotations ● Map annotations ● Description Data ● Stations ● Incidents Story Fire incidents in San Jose from January 2015 Goal Create an exploratory visualization for people to discover their own insights
  • 9. Exploring January 2015 Fire Incidents 9
  • 10. Understand the data Prepare the data Identify the story Create/Refine the visualization Feedback & review Collect the data Verify Publish 10 Steps to creating the San Jose January 2015 Fire Datavisualization
  • 11. Story - Every fire incident point represents multiple people Call taker Call responders Data Consumers Caller Person(s) in need Person(s) affected by the incident People associated with the incident Policy Makers - how should we allocate funds & resources? Voters - How should I vote on issues? How will decisions impact me? Reporters/ Residents - what is happening in the community? Employees - How will my job change? 11
  • 12. Goal ● Provide an exploratory visualization of San Jose January, 2015 Fire Incident calls ● Provide a way for people to see incidents related to a specific area of San Jose 12
  • 13. Collect the data 13 Data.sanjose.gov ● http://data.sanjoseca.gov/dataviews/226237/san- jose-fire-incidents-jan-2015/ San Jose Fire Stations ● http://www.sanjoseca.gov/index.aspx?NID=755
  • 14. Understand the data Data Fields ● Incident number ● Date Time of Event ● Dispatched Time ● Unit on the way time ● On Scene Unit ● Cleared Time ● Unit Count ● Priority - (Priority 1 | Priority 2 | Priority 1 or Priority 2) ● Final Incident Type - (Medical | Fire & other) ● Final Incident Category Questions 1) Map units responding to stations 2) 800 units were uncategorized 3) How long does it take to make data public? (January, 2015) 14
  • 15. Prepare the data ● Removed entries where there were no units responding ● Grouped data by day and time of day ● Convert station address to latitude and longitude 15
  • 16. Create the visualization - prototype 16
  • 18. Create the visualization - Terrific tools make it easy ● HTML ● CSS ● Javascript ○ Leaflet.js - Library for building interactive maps ■ http://leafletjs.com/ ○ DC - Dimensional charting library ■ https://dc-js.github.io/dc.js/ ■ D3 - “D3.js is a JavaScript library for manipulating documents based on data” ● https://d3js.org/ ■ Crossfilter - Filtering library for multidimensional views ● http://square.github.io/crossfilter/ 18
  • 20. Charts - DC.js - Crossfilter + D3 1) Load your data 2) Generate your dimension & group 3) Apply to chart http://bl.ocks.org/jun9/raw/5631952/ 20
  • 21. Verify & Publish Verify ● Annotate to indicate it is for demo only and not an official San Jose site ● Initial version the incident durations were not correctly bucketed. Publish ● Github static pages ○ http://codeforsanjose.github.io/dashboards/dashboards/fire-data-explorer/index.html# 21
  • 22. 8,000+ calls / month! I bet most of them occurred during the weekend Which unit responded to the most incidents? ● What questions do your stakeholders have? ● What might change given the answer to the questions? I wonder how many incidents occurred in my neighborhood 22
  • 23. What story would you tell? 23
  • 24. Laurie Reynolds email: laurie_reynolds@yahoo.com | LinkedIn: https://www.linkedin.com/in/lauriesreynolds 24 Human Centered Design User Advocate Continuous Curiosity Design software to be beautiful inside and out Collaboration Systems Thinking Analytics & Visualizations Mission Critical Life Sciences Finance Media Government Knight Ridder Financial Knight Ridder New Media (San Jose Mercury News Online)
  • 26. 26 Resource Link Leaflet.js Library for building interactive maps http://leafletjs.com/ DC Dimensional charting library https://dc-js.github.io/dc.js/ D3 Data Driven Documents https://d3js.org/ Web Developers Checklist http://webdevchecklist.com/ Data Visualization Checklist http://stephanieevergreen.com/wp- content/uploads/2014/05/DataVizChec klist_May2014.pdf Visualization: http://codeforsanjose.github. io/dashboards/dashboards/fire-data-explorer/index. html# Code: https://github. com/codeforsanjose/dashboards/tree/master/dashbo ards/fire-data-explorer Data Visualization Elements - Resources