SlideShare a Scribd company logo
Using Web Standards to
create Interactive Data
 Visualizations for the
          Web


   Nicolas Garcia Belmonte - Dec. 2009
Agenda

• JavaScript InfoVis Toolkit Overview
• Web Standards, JavaScript and Graphics
• What’s next for the JIT (v. 1.2)
• What’s next for Web Standards (WebGL)
• Introducing V8-GL
JavaScript InfoVis Toolkit

• Web Based Interactive Data Visualizations
• Multiple Graph/Tree Layouts
• Modular, Extensible, Composable
• Web Standards Based
Graph/Tree Layouts
Modular
       Grab only what you need

HyperTree
                                    SunBurst
TreeMap
             JavaScript InfoVis
                                  ForceDirected
                  Toolkit
 RGraph
                                      Icicle
SpaceTree
Extensible
• Define custom Nodes and Edges
• Add Custom Animations (linear,
  Elastic, etc.)
Composable
Add Visualizations as Node/Edge rendering
     functions to other visualizations
Web Standards Based
Web Standards
          JavaScript


• Dynamic, Expressive, Powerful
• Support in all Browsers
• Large Community
Web Standards
JavaScript: Language Features

 • Dynamic
 • Weakly typed
 • Differential Inheritance
 • First-class Functions
 • Object Mutability
 • Booleans as Defaults
 • etc.
Web Standards
                                              JavaScript: 100% Faster
SunSpider runs per minute




                            65.00

                            48.75

                            32.50

                            16.25

                               0
                                    WebKit 3.0          WebKit 3.1                SquirrelFish SquirrelFish X
                                         Source: http://webkit.org/blog/214/introducing-squirrelfish-extreme/
Web Standards
Everybody wants to make JavaScript Faster




   • Apple Safari - SquirrelFish Extreme
   • Mozilla Firefox - TraceMonkey
   • Google Chrome - V8
   • Opera - Carakan
Web Standards


   HTML Document
Web Standards
  HTML5
                          Header

• Audio                            Nav
• Video                            Form
• Drag n Drop   Section


• Canvas                           Image


• Storage                 Footer
• etc.
Web Standards
   CSS3
                           Header


• Gradients                         Nav

• Text Effects   Section
                                    Form

• Transforms                        Image
• Animations
• etc.                     Footer
Canvas
“A Scriptable Image Tag”
Canvas
                    Initialization


<canvas id=”tutorial” width=500 height=500></canvas>



  var canvas = document.getElementById(“tutorial”);
  var ctx = canvas.getContext(“2d”);
Canvas
          Drawing Shapes


ctx.fillStyle = “rgb(200, 0, 0)”;
ctx.fillRect(10, 10, 55, 50);

ctx.fillStyle = “rgba(0, 0, 200, 0.5)”;
ctx.fillRect(30, 30, 55, 50);
Canvas

    Benefits            Weak Points
Good Performance   No notion of elements
   Simple API      Code gets too verbose
Why JS + Canvas?

 • Native Browser Technologies
 • Seamless Integration
 • High Interoperability
 • No third-party libraries
 • Access to a large community
JavaScript InfoVis Toolkit
      Applications
  Visualizing Linux Package Dependencies




          Source: http://demos.thejit.org/example/rgraph/example1/
JavaScript InfoVis Toolkit
      Applications
   Visualizing Artist-Band Relationships




         Source: http://demos.thejit.org/example/hypertree/example1/
JavaScript InfoVis Toolkit
      Applications
    Some (public) user Applications

        CRS Management UI
       ROOT project at CERN
     Project at Macalester College
        Game Stats at Dystopia
     Neural Network Visualization
What’s next for the JIT?
                Version 1.2

• SunBurst, Icicle and
  Force-Directed
  Visualizations
• Mouse Controlled
  Transforms
• And more...
What’s next for the
            Web?

                    WebGL



Already available in WebKit and Firefox nightlies (*)
V8-GL
Write Hardware Accelerated Desktop Graphics with JS




           http://github.com/philogb/v8-gl/
Questions?

  philogb@gmail.com
   http://blog.thejit.org
http://github.com/philogb
    http://thejit.org

More Related Content

PDF
HTML5 and the dawn of rich mobile web applications pt 1
James Pearce
 
PPTX
What is HTML 5?
Susan Winters
 
PDF
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
David Kaneda
 
PPTX
JavaScript front end performance optimizations
Chris Love
 
KEY
Thats Not Flash?
Mike Wilcox
 
PPTX
Develop a vanilla.js spa you and your customers will love
Chris Love
 
KEY
Flash And Dom
Mike Wilcox
 
PPTX
Advanced front end debugging with ms edge and ms tools
Chris Love
 
HTML5 and the dawn of rich mobile web applications pt 1
James Pearce
 
What is HTML 5?
Susan Winters
 
How to Develop a Rich, Native-quality User Experience for Mobile Using Web St...
David Kaneda
 
JavaScript front end performance optimizations
Chris Love
 
Thats Not Flash?
Mike Wilcox
 
Develop a vanilla.js spa you and your customers will love
Chris Love
 
Flash And Dom
Mike Wilcox
 
Advanced front end debugging with ms edge and ms tools
Chris Love
 

What's hot (20)

PPTX
Service workers your applications never felt so good
Chris Love
 
PDF
Progressive Enhancement 2.0 (Conference Agnostic)
Nicholas Zakas
 
PDF
Thinking in Components
FITC
 
PDF
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Nicholas Zakas
 
PDF
Great Responsive-ability Web Design
Mike Wilcox
 
PPTX
Browser Wars Episode 1: The Phantom Menace
Nicholas Zakas
 
PPTX
Enough with the JavaScript already!
Nicholas Zakas
 
PPTX
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
edm00se
 
KEY
Developing High Performance Web Apps - CodeMash 2011
Timothy Fisher
 
PPTX
Html5 Overview
Daniel Arndt Alves
 
PDF
Mobile Web Speed Bumps
Nicholas Zakas
 
PDF
Don't make me wait! or Building High-Performance Web Applications
Stoyan Stefanov
 
PDF
Responsive Websites and Grid-Based Layouts by Gabriel Walt
AEM HUB
 
PPTX
High Performance JavaScript (CapitolJS 2011)
Nicholas Zakas
 
PDF
HTML5 and CSS3: does now really mean now?
Chris Mills
 
KEY
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
PPTX
Html5 Fit: Get Rid of Love Handles
Chris Love
 
PDF
jQuery 1.9 and 2.0 - Present and Future
Richard Worth
 
KEY
Video.js - How to build and HTML5 Video Player
steveheffernan
 
PDF
Web Apps and more
Yan Shi
 
Service workers your applications never felt so good
Chris Love
 
Progressive Enhancement 2.0 (Conference Agnostic)
Nicholas Zakas
 
Thinking in Components
FITC
 
Progressive Enhancement 2.0 (jQuery Conference SF Bay Area 2011)
Nicholas Zakas
 
Great Responsive-ability Web Design
Mike Wilcox
 
Browser Wars Episode 1: The Phantom Menace
Nicholas Zakas
 
Enough with the JavaScript already!
Nicholas Zakas
 
AD113 Speed Up Your Applications w/ Nginx and PageSpeed
edm00se
 
Developing High Performance Web Apps - CodeMash 2011
Timothy Fisher
 
Html5 Overview
Daniel Arndt Alves
 
Mobile Web Speed Bumps
Nicholas Zakas
 
Don't make me wait! or Building High-Performance Web Applications
Stoyan Stefanov
 
Responsive Websites and Grid-Based Layouts by Gabriel Walt
AEM HUB
 
High Performance JavaScript (CapitolJS 2011)
Nicholas Zakas
 
HTML5 and CSS3: does now really mean now?
Chris Mills
 
WHAT IS HTML5? (at CSS Nite Osaka)
Shumpei Shiraishi
 
Html5 Fit: Get Rid of Love Handles
Chris Love
 
jQuery 1.9 and 2.0 - Present and Future
Richard Worth
 
Video.js - How to build and HTML5 Video Player
steveheffernan
 
Web Apps and more
Yan Shi
 
Ad

Viewers also liked (14)

PPTX
Web standards and Visual Studio web tools
David Voyles
 
PDF
Una web todos los dispositivos.
philogb
 
PDF
Social data visualization
Cristina Serban
 
PPTX
Advanced Visualizations
nsrivast
 
PDF
Data visualization in JavaScript
Wenting ZHAO
 
PDF
New Tools for Visualization in JavaScript - Sept. 2011
philogb
 
PDF
JavaScript InfoVis Toolkit - Create interactive data visualizations for the web
philogb
 
PDF
Creating Interactive Data Visualizations for the Web - YOW! Developer Confere...
philogb
 
PDF
SUPPORT CRED
Alex Sandro da Silva
 
PDF
2016-09-28 Are You ADA Compliant? Ensuring Your Website is Accessible to Peop...
Raffa Learning Community
 
PDF
Up and Down the Python Data & Web Visualization Stack by Rob Story PyData SV ...
PyData
 
PPTX
Data Visualization in Health
Ramon Martinez
 
PPTX
SharePoint 2010 Web Standards & Accessibility
Mavention
 
PDF
Visualized Conference and jQuery Conference
Keiichiro Ono
 
Web standards and Visual Studio web tools
David Voyles
 
Una web todos los dispositivos.
philogb
 
Social data visualization
Cristina Serban
 
Advanced Visualizations
nsrivast
 
Data visualization in JavaScript
Wenting ZHAO
 
New Tools for Visualization in JavaScript - Sept. 2011
philogb
 
JavaScript InfoVis Toolkit - Create interactive data visualizations for the web
philogb
 
Creating Interactive Data Visualizations for the Web - YOW! Developer Confere...
philogb
 
SUPPORT CRED
Alex Sandro da Silva
 
2016-09-28 Are You ADA Compliant? Ensuring Your Website is Accessible to Peop...
Raffa Learning Community
 
Up and Down the Python Data & Web Visualization Stack by Rob Story PyData SV ...
PyData
 
Data Visualization in Health
Ramon Martinez
 
SharePoint 2010 Web Standards & Accessibility
Mavention
 
Visualized Conference and jQuery Conference
Keiichiro Ono
 
Ad

Similar to Using Web Standards to create Interactive Data Visualizations for the Web (20)

PDF
WDE08 State of the web
Satoshi Kikuchi
 
PDF
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
PPTX
Toronto HTML5 User Group Meet Up #2 – Application Development with HTML 5
Nathaniel Bagnell
 
PDF
soft-shake.ch - Introduction to HTML5
soft-shake.ch
 
PPTX
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
Felix Faber
 
PDF
JavaONE 2012 Using Java with HTML5 and CSS3
Helder da Rocha
 
PDF
Open web platform talk by daniel hladky at rif 2012 (19 april 2012 moscow)
AI4BD GmbH
 
PPTX
I Love HTML5
Shravan Kumar Kasagoni
 
PPTX
Html5 more than just html5 v final
Lohith Goudagere Nagaraj
 
PDF
Jsf2 html5-jazoon
Roger Kitain
 
PDF
Rapid Evolution of Web Dev? aka Talking About The Web
PINT Inc
 
PPTX
HTML5 - A Whirlwind tour
Lohith Goudagere Nagaraj
 
KEY
HTML5 History & Features
Dave Ross
 
PDF
From Flash to Canvas - a penchant for black holes
Patric Lanhed
 
PDF
New Features Coming in Browsers (RIT '09)
jeresig
 
PDF
HTML5 Intoduction for Web Developers
Sascha Corti
 
PDF
HTML5/CSS3 and Future Web in Mobile and IPTV
Manyoung Cho
 
PDF
Change by HTML5
dynamis
 
PDF
IE9 - "the good, the bad, the ugly"
Disruptive Code
 
PDF
W3C HTML5 KIG-The complete guide to building html5 games
Changhwan Yi
 
WDE08 State of the web
Satoshi Kikuchi
 
Building a Better Web with HTML5 and CSS3
Karambir Singh Nain
 
Toronto HTML5 User Group Meet Up #2 – Application Development with HTML 5
Nathaniel Bagnell
 
soft-shake.ch - Introduction to HTML5
soft-shake.ch
 
HTML5 - Chances and Pitfalls (Bytro Labs GmbH)
Felix Faber
 
JavaONE 2012 Using Java with HTML5 and CSS3
Helder da Rocha
 
Open web platform talk by daniel hladky at rif 2012 (19 april 2012 moscow)
AI4BD GmbH
 
Html5 more than just html5 v final
Lohith Goudagere Nagaraj
 
Jsf2 html5-jazoon
Roger Kitain
 
Rapid Evolution of Web Dev? aka Talking About The Web
PINT Inc
 
HTML5 - A Whirlwind tour
Lohith Goudagere Nagaraj
 
HTML5 History & Features
Dave Ross
 
From Flash to Canvas - a penchant for black holes
Patric Lanhed
 
New Features Coming in Browsers (RIT '09)
jeresig
 
HTML5 Intoduction for Web Developers
Sascha Corti
 
HTML5/CSS3 and Future Web in Mobile and IPTV
Manyoung Cho
 
Change by HTML5
dynamis
 
IE9 - "the good, the bad, the ugly"
Disruptive Code
 
W3C HTML5 KIG-The complete guide to building html5 games
Changhwan Yi
 

More from philogb (18)

PDF
OpenVisConf - WebGL for graphics and data visualization
philogb
 
PDF
From Data Journalism to Data Illustration - Visualizing Data with JavaScript ...
philogb
 
PDF
From Data Journalism to Data Illustration - Visualizing Data with JavaScript ...
philogb
 
PDF
The Geography of Tweets - BBC Developer Conference
philogb
 
PDF
Hacking public-facing data visualizations at Twitter
philogb
 
PDF
#interactives at Twitter
philogb
 
PDF
#interactives at Twitter
philogb
 
PDF
La visualisation de données comme outil pour découvrir et partager des idées ...
philogb
 
PDF
Exploring Web standards for data visualization
philogb
 
PDF
JavaScript para Graficos y Visualizacion de Datos - BogotaJS
philogb
 
PDF
JavaScript para Graficos y Visualizacion de Datos
philogb
 
PDF
InfoVis para la Web: Teoria, Herramientas y Ejemplos.
philogb
 
PDF
Nuevas herramientas de visualizacion en JavaScript
philogb
 
PDF
Data visualization for the web
philogb
 
PDF
Leaving Flatland: Getting Started with WebGL- SXSW 2012
philogb
 
PDF
Principles of Analytical Design - Visually Meetup - Sept. 2011
philogb
 
PDF
PhiloGL - WebGLCamp Google HQs - June 2011
philogb
 
PDF
JavaScript InfoVis Toolkit Overview
philogb
 
OpenVisConf - WebGL for graphics and data visualization
philogb
 
From Data Journalism to Data Illustration - Visualizing Data with JavaScript ...
philogb
 
From Data Journalism to Data Illustration - Visualizing Data with JavaScript ...
philogb
 
The Geography of Tweets - BBC Developer Conference
philogb
 
Hacking public-facing data visualizations at Twitter
philogb
 
#interactives at Twitter
philogb
 
#interactives at Twitter
philogb
 
La visualisation de données comme outil pour découvrir et partager des idées ...
philogb
 
Exploring Web standards for data visualization
philogb
 
JavaScript para Graficos y Visualizacion de Datos - BogotaJS
philogb
 
JavaScript para Graficos y Visualizacion de Datos
philogb
 
InfoVis para la Web: Teoria, Herramientas y Ejemplos.
philogb
 
Nuevas herramientas de visualizacion en JavaScript
philogb
 
Data visualization for the web
philogb
 
Leaving Flatland: Getting Started with WebGL- SXSW 2012
philogb
 
Principles of Analytical Design - Visually Meetup - Sept. 2011
philogb
 
PhiloGL - WebGLCamp Google HQs - June 2011
philogb
 
JavaScript InfoVis Toolkit Overview
philogb
 

Recently uploaded (20)

PDF
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PDF
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
PDF
Virat Kohli- the Pride of Indian cricket
kushpar147
 
PDF
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
PPTX
Trends in pediatric nursing .pptx
AneetaSharma15
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PDF
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
PPTX
FSSAI (Food Safety and Standards Authority of India) & FDA (Food and Drug Adm...
Dr. Paindla Jyothirmai
 
PDF
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Types of Literary Text: Poetry and Prose
kaelandreabibit
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
The-Invisible-Living-World-Beyond-Our-Naked-Eye chapter 2.pdf/8th science cur...
Sandeep Swamy
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
An introduction to Dialogue writing.pptx
drsiddhantnagine
 
Virat Kohli- the Pride of Indian cricket
kushpar147
 
2.Reshaping-Indias-Political-Map.ppt/pdf/8th class social science Exploring S...
Sandeep Swamy
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
Trends in pediatric nursing .pptx
AneetaSharma15
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
RA 12028_ARAL_Orientation_Day-2-Sessions_v2.pdf
Seven De Los Reyes
 
FSSAI (Food Safety and Standards Authority of India) & FDA (Food and Drug Adm...
Dr. Paindla Jyothirmai
 
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
Python-Application-in-Drug-Design by R D Jawarkar.pptx
Rahul Jawarkar
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 

Using Web Standards to create Interactive Data Visualizations for the Web

  • 1. Using Web Standards to create Interactive Data Visualizations for the Web Nicolas Garcia Belmonte - Dec. 2009
  • 2. Agenda • JavaScript InfoVis Toolkit Overview • Web Standards, JavaScript and Graphics • What’s next for the JIT (v. 1.2) • What’s next for Web Standards (WebGL) • Introducing V8-GL
  • 3. JavaScript InfoVis Toolkit • Web Based Interactive Data Visualizations • Multiple Graph/Tree Layouts • Modular, Extensible, Composable • Web Standards Based
  • 5. Modular Grab only what you need HyperTree SunBurst TreeMap JavaScript InfoVis ForceDirected Toolkit RGraph Icicle SpaceTree
  • 6. Extensible • Define custom Nodes and Edges • Add Custom Animations (linear, Elastic, etc.)
  • 7. Composable Add Visualizations as Node/Edge rendering functions to other visualizations
  • 9. Web Standards JavaScript • Dynamic, Expressive, Powerful • Support in all Browsers • Large Community
  • 10. Web Standards JavaScript: Language Features • Dynamic • Weakly typed • Differential Inheritance • First-class Functions • Object Mutability • Booleans as Defaults • etc.
  • 11. Web Standards JavaScript: 100% Faster SunSpider runs per minute 65.00 48.75 32.50 16.25 0 WebKit 3.0 WebKit 3.1 SquirrelFish SquirrelFish X Source: http://webkit.org/blog/214/introducing-squirrelfish-extreme/
  • 12. Web Standards Everybody wants to make JavaScript Faster • Apple Safari - SquirrelFish Extreme • Mozilla Firefox - TraceMonkey • Google Chrome - V8 • Opera - Carakan
  • 13. Web Standards HTML Document
  • 14. Web Standards HTML5 Header • Audio Nav • Video Form • Drag n Drop Section • Canvas Image • Storage Footer • etc.
  • 15. Web Standards CSS3 Header • Gradients Nav • Text Effects Section Form • Transforms Image • Animations • etc. Footer
  • 17. Canvas Initialization <canvas id=”tutorial” width=500 height=500></canvas> var canvas = document.getElementById(“tutorial”); var ctx = canvas.getContext(“2d”);
  • 18. Canvas Drawing Shapes ctx.fillStyle = “rgb(200, 0, 0)”; ctx.fillRect(10, 10, 55, 50); ctx.fillStyle = “rgba(0, 0, 200, 0.5)”; ctx.fillRect(30, 30, 55, 50);
  • 19. Canvas Benefits Weak Points Good Performance No notion of elements Simple API Code gets too verbose
  • 20. Why JS + Canvas? • Native Browser Technologies • Seamless Integration • High Interoperability • No third-party libraries • Access to a large community
  • 21. JavaScript InfoVis Toolkit Applications Visualizing Linux Package Dependencies Source: http://demos.thejit.org/example/rgraph/example1/
  • 22. JavaScript InfoVis Toolkit Applications Visualizing Artist-Band Relationships Source: http://demos.thejit.org/example/hypertree/example1/
  • 23. JavaScript InfoVis Toolkit Applications Some (public) user Applications CRS Management UI ROOT project at CERN Project at Macalester College Game Stats at Dystopia Neural Network Visualization
  • 24. What’s next for the JIT? Version 1.2 • SunBurst, Icicle and Force-Directed Visualizations • Mouse Controlled Transforms • And more...
  • 25. What’s next for the Web? WebGL Already available in WebKit and Firefox nightlies (*)
  • 26. V8-GL Write Hardware Accelerated Desktop Graphics with JS http://github.com/philogb/v8-gl/
  • 27. Questions? [email protected] http://blog.thejit.org http://github.com/philogb http://thejit.org