SlideShare a Scribd company logo
1 of 97
Download to read offline
@byrichardpowell
byrichardpowell.co.uk
Thursday, 28 November 13
Thursday, 28 November 13
Manage your infrastructure
Thursday, 28 November 13
Monitor your devices
Thursday, 28 November 13
Monitor your services
Thursday, 28 November 13
Thursday, 28 November 13
25 TB of data per month

Thursday, 28 November 13
The backbone logo inside a rickshaw

Time Series Graphs
with Rickshaw, D3 & Backbone.js
Thursday, 28 November 13
Why talk about
data visulisation?

Thursday, 28 November 13
Spot Patterns

gapminder.org/world/
Thursday, 28 November 13
Spot Patterns

gapminder.org/world/
Thursday, 28 November 13
Diagnose Problems
Thursday, 28 November 13
Funny picture

Data visualization can be beautiful
Je Thorp: Word Frequency
Thursday, 28 November 13
“Data Visualization is awesome”
this kid, 2013

Thursday, 28 November 13
Overview

1.
2.
3.
4.

SVG, D3, Rickshaw
Data Visualisation Design
API Design
Backbone

Thursday, 28 November 13
1. SVG, D3 & Rickshaw

Thursday, 28 November 13
“A modularized language
for describing two-dimensional vector
and mixed vector/raster graphics in XML”
w3.org/TR/SVG/

Thursday, 28 November 13
Elements & Attributes
Thursday, 28 November 13
website

snapsvg.io
Thursday, 28 November 13
pablojs.com/
Thursday, 28 November 13
raphaeljs.com/
Thursday, 28 November 13
Why D3 & Why Rickshaw?

Thursday, 28 November 13
Mike Bostock
@mbostock

Thursday, 28 November 13
examples?

github.com/mbostock/d3/wiki/Gallery
Thursday, 28 November 13
Horizon Graphs
square.github.io/cubism/

Thursday, 28 November 13
Calender Heatmaps
bl.ocks.org/mbostock/4063318

Thursday, 28 November 13
Rickshaw is feature rich
* Line
* Stacked
* Scaled Series
* Custom Axis Formatting
* Custom tooltips
* Disabling/enabling series

Thursday, 28 November 13
Rickshaw is feature rich
* Scatterplots
* Bar charts
* Mixed charts
* Logarithmic & Absolute Scaling
* Annotations

Thursday, 28 November 13
xkcd.com/418/
Thursday, 28 November 13
2. Design

Thursday, 28 November 13
“Above all else show the data”
Edward Rolf Tufte, 1983

Thursday, 28 November 13
bit.ly/183R6sT
Thursday, 28 November 13
bit.ly/183R6sT
Thursday, 28 November 13
Data to Ink Ratio: Classes

Thursday, 28 November 13
Data to Ink Ratio: Classes

Thursday, 28 November 13
Data to Ink Ratio: Classes

Thursday, 28 November 13
Data to Ink Ratio: Classes

Thursday, 28 November 13
Data to Ink Ratio: Legend Classes

Thursday, 28 November 13
Use only the classes you need
to create the design you want

Thursday, 28 November 13
“Having the data is not enough.
I have to show it in ways
people both enjoy and understand.”
Hans Rosling

Thursday, 28 November 13
Enjoy

Thursday, 28 November 13
“A state of joy, creativity and total involvement,
in which problems seem to disappear
and there is an exhilarating feeling
of transcendence”
Mihaly Csikszentmihalyi

Thursday, 28 November 13
This is not enjoyment
this is not flow
Thursday, 28 November 13
To maintain flow
Be Defensive
Thursday, 28 November 13
Defensive: Check for errors

Thursday, 28 November 13
Defensive: Quarantine

Thursday, 28 November 13
Defensive: Give Feedback

Thursday, 28 November 13
Being Forgiving
Thursday, 28 November 13
Understand

Thursday, 28 November 13
Numbers or Patterns?
Thursday, 28 November 13
19th Nov 2003
Physical Memory Used: 200

Both?
Thursday, 28 November 13
Comparisons?
Thursday, 28 November 13
Custom Formatted Tooltips

Thursday, 28 November 13
Tooltip Events

Thursday, 28 November 13
Synchronized Tooltips

Thursday, 28 November 13
Synchronized Tooltips

Thursday, 28 November 13
“You’ve got a good piece of software
when people use it for purposes
it was never intended for.”
Clay Shirky

Thursday, 28 November 13
We Never Expected
Thursday, 28 November 13
Multiple Axis
bit.ly/17lKqn5

Thursday, 28 November 13
Multiple Axis
bit.ly/17lKqn5

Thursday, 28 November 13
Generating a scale

Thursday, 28 November 13
Generating multiple scales

Thursday, 28 November 13
Using the scales

Thursday, 28 November 13
Scaling the axis

Thursday, 28 November 13
xkcd.com/231/
Thursday, 28 November 13
3.Metrics

Thursday, 28 November 13
“How do we request graph data
for metrics ... ?”

Thursday, 28 November 13
Metrics can be
simple, complex or dynamic
Thursday, 28 November 13
Metrics can be combined
Thursday, 28 November 13
“How do we request graph data for
multiple metrics at once
that can nest many levels deep
and are dynamic?”

Thursday, 28 November 13
Structured as JSON

Thursday, 28 November 13
JSON in a URL

Thursday, 28 November 13
The graph data

Thursday, 28 November 13
xkcd.com/518/
Thursday, 28 November 13
4.Backbone

Thursday, 28 November 13
Thursday, 28 November 13
tabs

graphs

Thursday, 28 November 13

alerting

plugins
Thursday, 28 November 13
graphs

date

Thursday, 28 November 13

graph

graph
Thursday, 28 November 13
graph

options

Thursday, 28 November 13

series

legend

axis
Thursday, 28 November 13
tabs view

graphs view

graph views
options view

dropdown views

Thursday, 28 November 13
Zombies: Cool for fancy dress
Events
and not cool for code
the mediator pattern

Thursday, 28 November 13
Using mediator events

Thursday, 28 November 13
Using Collection Events

Thursday, 28 November 13
Zombies: Cool for fancy dress
not cool for code

Thursday, 28 November 13
Managing Views

Thursday, 28 November 13
Be Defensive
Thursday, 28 November 13
Dealing with time (badly)

Thursday, 28 November 13
Dealing with time (badly)

Thursday, 28 November 13
Dealing with time (badly)

Thursday, 28 November 13
Dealing with time (badly)

Thursday, 28 November 13
Thursday, 28 November 13
Dealing with time

Thursday, 28 November 13
xkcd.com/290/
Thursday, 28 November 13
www.serverdensity.com/
bit.ly/1erNJNz

@byrichardpowell

Thursday, 28 November 13

More Related Content

More from Richard Powell

Designing user on-boarding
Designing user on-boardingDesigning user on-boarding
Designing user on-boardingRichard Powell
 
Data Visualisation with D3 & Rickshaw - Berlin Expert Days
Data Visualisation with D3 & Rickshaw - Berlin Expert DaysData Visualisation with D3 & Rickshaw - Berlin Expert Days
Data Visualisation with D3 & Rickshaw - Berlin Expert DaysRichard Powell
 
Time-Series Monitoring Graphs with D3 & Rickshaw
Time-Series Monitoring Graphs with D3 & RickshawTime-Series Monitoring Graphs with D3 & Rickshaw
Time-Series Monitoring Graphs with D3 & RickshawRichard Powell
 
Angular js, Yeomon & Grunt
Angular js, Yeomon & GruntAngular js, Yeomon & Grunt
Angular js, Yeomon & GruntRichard Powell
 
Real-time collaborative drawing
Real-time collaborative drawingReal-time collaborative drawing
Real-time collaborative drawingRichard Powell
 
Angular.js, Yeomon & Grunt
Angular.js, Yeomon & GruntAngular.js, Yeomon & Grunt
Angular.js, Yeomon & GruntRichard Powell
 
Draw stuff at @jsnortheast
Draw stuff at @jsnortheastDraw stuff at @jsnortheast
Draw stuff at @jsnortheastRichard Powell
 
HTML5 Canvas @SuperMondays, Newcastle
HTML5 Canvas @SuperMondays, NewcastleHTML5 Canvas @SuperMondays, Newcastle
HTML5 Canvas @SuperMondays, NewcastleRichard Powell
 

More from Richard Powell (9)

Designing user on-boarding
Designing user on-boardingDesigning user on-boarding
Designing user on-boarding
 
Data Visualisation with D3 & Rickshaw - Berlin Expert Days
Data Visualisation with D3 & Rickshaw - Berlin Expert DaysData Visualisation with D3 & Rickshaw - Berlin Expert Days
Data Visualisation with D3 & Rickshaw - Berlin Expert Days
 
Time-Series Monitoring Graphs with D3 & Rickshaw
Time-Series Monitoring Graphs with D3 & RickshawTime-Series Monitoring Graphs with D3 & Rickshaw
Time-Series Monitoring Graphs with D3 & Rickshaw
 
Angular js, Yeomon & Grunt
Angular js, Yeomon & GruntAngular js, Yeomon & Grunt
Angular js, Yeomon & Grunt
 
Real-time collaborative drawing
Real-time collaborative drawingReal-time collaborative drawing
Real-time collaborative drawing
 
Front end-performance
Front end-performanceFront end-performance
Front end-performance
 
Angular.js, Yeomon & Grunt
Angular.js, Yeomon & GruntAngular.js, Yeomon & Grunt
Angular.js, Yeomon & Grunt
 
Draw stuff at @jsnortheast
Draw stuff at @jsnortheastDraw stuff at @jsnortheast
Draw stuff at @jsnortheast
 
HTML5 Canvas @SuperMondays, Newcastle
HTML5 Canvas @SuperMondays, NewcastleHTML5 Canvas @SuperMondays, Newcastle
HTML5 Canvas @SuperMondays, Newcastle
 

Recently uploaded

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Recently uploaded (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

D3 Rickshaw and Backbone in 50 minutes