openvis conference quick report part 2

52
Cytoscape Team Meeting 5/15/2014 Keiichiro Ono Part 2: Quick Report Part 2

Upload: keiichiro-ono

Post on 11-Aug-2014

499 views

Category:

Data & Analytics


5 download

DESCRIPTION

Quick report of OpenVis Conference 2014 in Boston. This is the second half of my report. Prepared for Cytoscape developer team meeting on 5/15/2014.

TRANSCRIPT

Page 1: OPENVIS Conference Quick Report Part 2

Cytoscape Team Meeting 5/15/2014 !

Keiichiro Ono

Part 2: Quick Report Part 2

Page 2: OPENVIS Conference Quick Report Part 2

Outline

-Keynote 2: John Resig -Selected Talks

-Mostly Technical Ones

Page 3: OPENVIS Conference Quick Report Part 2
Page 4: OPENVIS Conference Quick Report Part 2
Page 5: OPENVIS Conference Quick Report Part 2

Keynotes

Page 6: OPENVIS Conference Quick Report Part 2

Keynotes

Mike Bostock - NTY Visualization Team John Resig - Khan Academy, Ex-Mozilla

Page 7: OPENVIS Conference Quick Report Part 2

John Resig

Page 8: OPENVIS Conference Quick Report Part 2

John Resig

- Creator of jQuery

- Engineer at Khan Academy

- Was a member of Mozilla Corporation

- a JavaScript hacker

Page 9: OPENVIS Conference Quick Report Part 2

http://ejohn.org/

Page 10: OPENVIS Conference Quick Report Part 2

- Lightweight JavaScript library

- Reduces many lines of code

- Used in more than 50% of the web sites today

- Solves lots of cross-browser issues

Page 11: OPENVIS Conference Quick Report Part 2

Keynote by John Resig: !

Analyzing Art Data for Fun and Profit

Page 12: OPENVIS Conference Quick Report Part 2

ukiyo-e.org

葛飾北斎 富嶽三十六景 神奈川沖浪裏

Page 13: OPENVIS Conference Quick Report Part 2

What is Ukiyo-e?- Japanese woodblock prints (mostly) produced in

Edo period (江戸時代)

- Means “Pictures of the floating world” - Kabuki actors, 美人画 (pictures of beautiful women), landscapes, etc.

- One of the most popular Japanese art forms in the world

- In Japan, it was a popular culture in17-18 centuries, and re-discovered as art by Europeans

Page 14: OPENVIS Conference Quick Report Part 2

(Post) Impressionism and Japonisme

Madame Monet in a Japanese kimono. Claude Monet. !1875, Museum of Fine Arts, BostonLa courtisane (after Eisen), Vincent van Gogh, 1887

Page 15: OPENVIS Conference Quick Report Part 2

Sudden Shower Over Shin-Ohashi Bridge and Atake (名所江戸百景 大はしあたけの夕立) by Hiroshige (歌川広重)

Page 16: OPENVIS Conference Quick Report Part 2

Bridge in the rain (after Hiroshige) by Vincent van Gogh

Page 17: OPENVIS Conference Quick Report Part 2
Page 18: OPENVIS Conference Quick Report Part 2

Meta-database of Ukiyo-e for Fun

- He is a big fan of Japanese art

- One day, he noticed there is no central repository of ukiyo-e

- Then, let’s make one as a fun project…

Page 19: OPENVIS Conference Quick Report Part 2
Page 20: OPENVIS Conference Quick Report Part 2
Page 21: OPENVIS Conference Quick Report Part 2

Source Web Site

WebKit

PhantomJS

CasperJS

SpookyJS

XML Files MongoDB Log

libxml & xpath

MongoDB

Data Processing

Script

Artists Data Image Data

Consolidate Date and Artist Data

Add to the site

PipelineBuilt on node.js

Page 22: OPENVIS Conference Quick Report Part 2

Source Web Site

WebKit

PhantomJS

CasperJS

SpookyJS

XML Files MongoDB Log

libxml & xpath

MongoDB

Data Processing

Script

Artists Data Image Data

Consolidate Date and Artist Data

Add to the site

Crawling Pipeline

Page 23: OPENVIS Conference Quick Report Part 2

Source Web Site

WebKit

PhantomJS

CasperJS

SpookyJS

XML Files MongoDB Log

libxml & xpath

MongoDB

Data Processing

Script

Artists Data Image Data

Consolidate Date and Artist Data

Add to the site

Page 24: OPENVIS Conference Quick Report Part 2

Source Web Site

WebKit

PhantomJS

CasperJS

SpookyJS

XML Files MongoDB Log

libxml & xpath

MongoDB

Data Processing

Script

Artists Data Image Data

Consolidate Date and Artist Data

Add to the site

Page 25: OPENVIS Conference Quick Report Part 2

Many-to-Many Mapping

- Metadata for the pictures were “fuzzy” - Example: Metadata for an artist 「歌川広重」

- 広重

- 歌川広重

- hiroshige

- Hiroshige utagawa

- ひろしげ

- Representation of Japanese names

- Ando, 安藤, 安東, あんどう, 安堂, etc.

- ex: Keiichiro, Keiichiroh, けいいちろう, 圭一朗, 圭一郎

Page 26: OPENVIS Conference Quick Report Part 2

東洲斎写楽.json{ "original": "Sharaku Tōshūsai (東洲斎写楽)", "locale": "ja", "kanji": "東洲斎写楽", "given": "Sharaku", "given_kana": "しゃらく", "surname": "Tōshūsai", "surname_kana": "とおしゅうさい", "surname_kanji": "東洲斎", "given_kanji": "写楽", "name": "Tōshūsai Sharaku", "ascii": "Tooshuusai Sharaku", "plain": "Toshusai Sharaku", "kana": "とおしゅうさいしゃらく" }

Page 27: OPENVIS Conference Quick Report Part 2

Collaboration with Frick Collection

- While he was building this DB, he found a lot of errors in the museums’ databases

- Image similarity search

- He contacted them and curators are impressed by his work

- Collaboration: Image/graph analysis of Frick Collection and metadata update

- Graph analysis with Neo4j / Cypher

Page 28: OPENVIS Conference Quick Report Part 2

Summary

- Today, we can build this level of complex data analysis pipeline only with JavaScript

- Node.js as a workflow engine

- Write Code Every Day - http://ejohn.org/blog/write-code-every-day/

Page 29: OPENVIS Conference Quick Report Part 2

Selected Talks

Page 30: OPENVIS Conference Quick Report Part 2

Using D3 with Backbone, Angular and Ember

- Sam Selikoff

Lyra: An Interactive Visualization Design Environment

- Arvind Satyanarayan

Python in the Browser Age: Data Exploration in the IPython Notebook

- Jake Vanderplas

Selected Talks

Page 31: OPENVIS Conference Quick Report Part 2

Using D3 with Backbone, Angular and Ember Sam Selikoff

Page 32: OPENVIS Conference Quick Report Part 2

Post-jQuery World

- Large-scale JavaScript client-side code without structure = unmaintainable

- There are lots of frameworks to solve this issue

Page 33: OPENVIS Conference Quick Report Part 2

D3.js + MV* Frameworks

- D3.js visualization code tend to be procedural

- For large scale development, encapsulate it

- Then embed the code by following the framework’s idioms

Page 34: OPENVIS Conference Quick Report Part 2

https://github.com/samselikoff/talks/blob/master/4-apr2014-using-d3-backbone-angular-ember/final/6_angular_d3.html

Page 35: OPENVIS Conference Quick Report Part 2

Structure to DataViz Applications

- Try existing framework

- d3.Chart

- Make your visualization code reusable!

- http://bost.ocks.org/mike/chart/

Page 36: OPENVIS Conference Quick Report Part 2

Lyra: An Interactive Visualization Design Environment Arvind Satyanaraya

Page 37: OPENVIS Conference Quick Report Part 2

What is Lyra?

- Node.js based tool to create custom visualization without coding

- “Lyra is an interactive environment that enables custom visualization design without writing any code.“

- Targeting somewhere between D3.js and Excel

- Pre-alpha status

Page 38: OPENVIS Conference Quick Report Part 2

Napoleon's March to Moscow by Charles Minard, 1869

Page 39: OPENVIS Conference Quick Report Part 2

Custom Visualizations without Coding

- It is interesting, but challenging

- Complex UI

- Learning curve

- But worth trying to satisfy demands of complex visualizations

Page 40: OPENVIS Conference Quick Report Part 2

Python in the Browser Age: Data Exploration in the IPython Notebook Jake Vanderplas

Page 41: OPENVIS Conference Quick Report Part 2
Page 42: OPENVIS Conference Quick Report Part 2

- Most of the core commuters are scientists - Tool for scientists by scientists - Goal: Reproducible Science

IPython and Notebook

Page 43: OPENVIS Conference Quick Report Part 2

http://www.brianckeegan.com/2014/04/the-need-for-openness-in-data-journalism/

Page 44: OPENVIS Conference Quick Report Part 2

http://nbviewer.ipython.org/github/brianckeegan/Bechdel/blob/master/Bechdel_test.ipynb

Reproducible Data Journalism

Page 45: OPENVIS Conference Quick Report Part 2

New in IPython Notebook 2.0:

Interactive Widget

Page 46: OPENVIS Conference Quick Report Part 2

http://mpld3.github.io/

Page 47: OPENVIS Conference Quick Report Part 2

Bokeh

Page 48: OPENVIS Conference Quick Report Part 2
Page 49: OPENVIS Conference Quick Report Part 2

Tips: New Presentation Style with IPython Notebook

- Write demo code and descriptions as an IPython Notebook

- Upload it to gist

- Open it with nbviewer

- http://nbviewer.ipython.org/ - Also, the audience can directly clone the repository and play with their

local machine

Page 50: OPENVIS Conference Quick Report Part 2

Summary

Page 51: OPENVIS Conference Quick Report Part 2

Summary

- Tons of interesting new projects are going on outside of Java world

- Some of the tools are extremely important for us

- IPython Notebook

- D3.js

- We need to keep watching them…