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

Draw stuff at @jsnortheast
Draw stuff at @jsnortheastDraw stuff at @jsnortheast
Draw stuff at @jsnortheast
Richard 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

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - 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
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
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?
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
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
 
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
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
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
 

D3 Rickshaw and Backbone in 50 minutes