Data Visualization for
      the Web


 @philogb - Stanford ACM Tech Talks
I use Web Standards to create Data Visualizations.




                   @philogb
The Problem
@philogb - Stanford ACM Tech Talks
I wish I had some
guidance when making
 data visualizations!
InfoVis Theory
Semiology of Graphics




Source: Tamara Munzner. Chapter 27, p 675-707, of Fundamentals of Graphics, Third Edition, by Peter Shirley et al. AK Peters, 2009
Channel Ranking vs. Data Type

Quantitative                                           Ordinal                                          Nominal

   Position                                          Position                                          Position
    Length                                           Density                                              Hue
    Angle                                           Saturation                                         Texture
     Slope                                              Hue                                          Connection
     Area                                            Texture                                         Containment
   Volume                                          Connection                                          Density
   Density                                         Containment                                        Saturation
  Saturation                                          Length                                            Shape
      Hue                                             Angle                                             Length
   Texture                                             Slope                                            Angle
 Connection                                            Area                                              Slope
 Containment                                         Volume                                              Area
    Shape                                             Shape                                            Volume



Source: Tamara Munzner. Chapter 27, p 675-707, of Fundamentals of Graphics, Third Edition, by Peter Shirley et al. AK Peters, 2009
Steven’s Power Law
InfoVis Tools
JavaScript InfoVis Toolkit




         http://thejit.org/
JavaScript InfoVis Toolkit
       A Hands-On Toolkit


     • The White House
     • Mozilla
     • Google
     • The Guardian
     • Al-Jazeera
          http://thejit.org/
PhiloGL
•   WebGL Powered Visualization Framework

•   Handles Big Datasets ( > 100K elems )

•   Idiomatic JavaScript

•   Rich Module System




              http://senchalabs.org/philogl/

          Model courtesy of Nicolas Kassis - McGill Univ.
Examples




http://senchalabs.org/philogl/
  //Create application
  PhiloGL('canvasId', {
    program: {
      from: 'uris',
      vs: 'shader.vs.glsl',
      fs: 'shader.fs.glsl'
    },
    camera: {
      position: {
        x: 0, y: 0, z: -50
      }
    },
    textures: {
      src: ['arroway.jpg', 'earth.jpg']
    },
    events: {
      onDragMove: function(e) {
        //do things...
      },
      onMouseWheel: function(e) {
        //do things...
      }
    },
    onError: function() {
      alert("There was an error creating the app.");
    },
    onLoad: function(app) {
      /* Do things here */
    }
  });
More Examples




  http://senchalabs.org/philogl/
Thanks!

@philogb

http://philogb.github.com/

Data visualization for the web

  • 1.
    Data Visualization for the Web @philogb - Stanford ACM Tech Talks
  • 2.
    I use WebStandards to create Data Visualizations. @philogb
  • 3.
  • 5.
    @philogb - StanfordACM Tech Talks
  • 6.
    I wish Ihad some guidance when making data visualizations!
  • 7.
  • 8.
    Semiology of Graphics Source:Tamara Munzner. Chapter 27, p 675-707, of Fundamentals of Graphics, Third Edition, by Peter Shirley et al. AK Peters, 2009
  • 9.
    Channel Ranking vs.Data Type Quantitative Ordinal Nominal Position Position Position Length Density Hue Angle Saturation Texture Slope Hue Connection Area Texture Containment Volume Connection Density Density Containment Saturation Saturation Length Shape Hue Angle Length Texture Slope Angle Connection Area Slope Containment Volume Area Shape Shape Volume Source: Tamara Munzner. Chapter 27, p 675-707, of Fundamentals of Graphics, Third Edition, by Peter Shirley et al. AK Peters, 2009
  • 10.
  • 11.
  • 12.
    JavaScript InfoVis Toolkit http://thejit.org/
  • 14.
    JavaScript InfoVis Toolkit A Hands-On Toolkit • The White House • Mozilla • Google • The Guardian • Al-Jazeera http://thejit.org/
  • 15.
    PhiloGL • WebGL Powered Visualization Framework • Handles Big Datasets ( > 100K elems ) • Idiomatic JavaScript • Rich Module System http://senchalabs.org/philogl/ Model courtesy of Nicolas Kassis - McGill Univ.
  • 16.
  • 17.
      //Create application   PhiloGL('canvasId', {    program: {       from: 'uris',       vs: 'shader.vs.glsl',       fs: 'shader.fs.glsl'     },     camera: {       position: {         x: 0, y: 0, z: -50       }     },     textures: {       src: ['arroway.jpg', 'earth.jpg']     },     events: {       onDragMove: function(e) {         //do things...       },       onMouseWheel: function(e) {         //do things...       }     },     onError: function() {       alert("There was an error creating the app.");     },     onLoad: function(app) {       /* Do things here */     }   });
  • 18.
    More Examples http://senchalabs.org/philogl/
  • 19.