SlideShare a Scribd company logo
Data Vizualisationhello
     world with:

   d3.js + sinatra +
    elasticsearch
hello world :)


• know this sexy technos exist...
• ... and maybe learn more after ;)
d3.js
• http://mbostock.github.com/d3/
• «D3.js is a small, free JavaScript library for
  manipulating documents based on data.»
d3.js
• data([4, 8, 15, 16, 23, 42])
• array of document elements (<p>)
• data[i] <=> elements[i] -> each element of
  the data array is binded to an element of
  the document
d3.js
• #repeat : each element of the data array is
  binded to an element of the document
• foreach item of my data array:
• .enter().append("p").text(function(d)
  { return "I'm number " + d + "!"; });
• i build a <p> el and set a text with the data
  value
d3.js
• circle.exit().remove();
• when data element is removed, i just the
    remove the same index element from the
    dom
• if data data value is updated ? transition +
    svg!
•    rect.transition().duration(1000).attr("x",
    function(d, i) { return x(i) - .5; });
d3.js


• more d3.js pres is possible: just ask for it ;)
sinatra


• http://www.sinatrarb.com/
• « Sinatra is a DSL for quickly creating web
  applications in Ruby with minimal effort »
sinatra
• quick web application without persistence
   and so on (but you can too ;))
• data viz with static js / css / html
• proxy to api (here we have a proxy to the
   elastic search api)
• make call to facebook / oauth api and get
   token for debug....
• etc....
elasticsearch
• http://www.elasticsearch.org/
• fast
• painless setup
• free search schema
• JSON over http
• scale to hundreds
elasticsearch
• put json on the index
• search index
• response times are indcrebly fast
• super easy clustering (sharding +
  replication)
• and requested by REST / json api
elasticsearch


• more elasticsearch pres is possible: just ask
  for it ;)
the app
    js
   d3.js              sinatra           elasticsearch

   ajax

   javascript
                   sinatra really
 contain main                       elasticsearch
                     handy for
   part of app                      accessed via
                   proxying with
vizualiation and                         http
                     REST api
 http querying
video


• check !
Matt


• twitter @mathieuel
• http://www.mathieu-elie.net

More Related Content

PDF
Data Visualization on the Tech Side
PDF
dataviz on d3.js + elasticsearch
PDF
elasticsearch basics workshop
PPTX
PDF
Web Scraping in Python with Scrapy
PPTX
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
PPTX
ElasticSearch for data mining
PDF
ElasticSearch - index server used as a document database
Data Visualization on the Tech Side
dataviz on d3.js + elasticsearch
elasticsearch basics workshop
Web Scraping in Python with Scrapy
Elasticsearch, Logstash, Kibana. Cool search, analytics, data mining and more...
ElasticSearch for data mining
ElasticSearch - index server used as a document database

What's hot (20)

PDF
Buildingsocialanalyticstoolwithmongodb
PPTX
Introduction to ELK
PPTX
Presentation: mongo db & elasticsearch & membase
PDF
ElasticSearch
PDF
Luigi presentation OA Summit
PDF
Data-Driven Development Era and Its Technologies
PPTX
Lightning talk: elasticsearch at Cogenta
PDF
Interactive learning analytics dashboards with ELK (Elasticsearch Logstash Ki...
PDF
Rupy2012 ArangoDB Workshop Part2
PDF
Scrapy workshop
KEY
Redis At 6Wunderkinder
ODP
Cool bonsai cool - an introduction to ElasticSearch
PDF
MongoDB and Node.js
PDF
Code decoupling from Symfony (and others frameworks) - PHP Conference Brasil ...
PDF
hotdog a TD tool for DD
PPTX
Log analysis using Logstash,ElasticSearch and Kibana
PDF
Introduction to Elasticsearch
PDF
ELK Wrestling (Leeds DevOps)
PDF
Machine Learning in a Twitter ETL using ELK
PDF
Using Sphinx for Search in PHP
Buildingsocialanalyticstoolwithmongodb
Introduction to ELK
Presentation: mongo db & elasticsearch & membase
ElasticSearch
Luigi presentation OA Summit
Data-Driven Development Era and Its Technologies
Lightning talk: elasticsearch at Cogenta
Interactive learning analytics dashboards with ELK (Elasticsearch Logstash Ki...
Rupy2012 ArangoDB Workshop Part2
Scrapy workshop
Redis At 6Wunderkinder
Cool bonsai cool - an introduction to ElasticSearch
MongoDB and Node.js
Code decoupling from Symfony (and others frameworks) - PHP Conference Brasil ...
hotdog a TD tool for DD
Log analysis using Logstash,ElasticSearch and Kibana
Introduction to Elasticsearch
ELK Wrestling (Leeds DevOps)
Machine Learning in a Twitter ETL using ELK
Using Sphinx for Search in PHP
Ad

Similar to Data vizualisation: d3.js + sinatra + elasticsearch (20)

PDF
Appli légère avec d3.js, sinatra, elasticsearch et capucine
PDF
HTML+JQuery by Rio
PDF
初心者向けGAE/Java説明資料
PDF
Django Overview
PDF
node-crate: node.js and big data
PPTX
HTML5: An Overview
PPTX
Cross platform Mobile development on Titanium
PPTX
Angular2 inter3
PPTX
Scaling Analytics with elasticsearch
PDF
Gaej For Beginners
PPTX
¡El mejor lenguaje para automatizar pruebas!
PPTX
AzureSynapse.pptx
PDF
Building APIs in an easy way using API Platform
PDF
Web_of_Things_2013
PDF
Integrate LLM in your applications 101
PPTX
06 integrate elasticsearch
PPTX
Building an intelligent big data application in 30 minutes
PDF
HTML5: Introduction
PPT
How ElasticSearch lives in my DevOps life
KEY
Android lessons you won't learn in school
Appli légère avec d3.js, sinatra, elasticsearch et capucine
HTML+JQuery by Rio
初心者向けGAE/Java説明資料
Django Overview
node-crate: node.js and big data
HTML5: An Overview
Cross platform Mobile development on Titanium
Angular2 inter3
Scaling Analytics with elasticsearch
Gaej For Beginners
¡El mejor lenguaje para automatizar pruebas!
AzureSynapse.pptx
Building APIs in an easy way using API Platform
Web_of_Things_2013
Integrate LLM in your applications 101
06 integrate elasticsearch
Building an intelligent big data application in 30 minutes
HTML5: Introduction
How ElasticSearch lives in my DevOps life
Android lessons you won't learn in school
Ad

Recently uploaded (20)

PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation theory and applications.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
MIND Revenue Release Quarter 2 2025 Press Release
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Understanding_Digital_Forensics_Presentation.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Building Integrated photovoltaic BIPV_UPV.pdf
MYSQL Presentation for SQL database connectivity
Chapter 3 Spatial Domain Image Processing.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Machine learning based COVID-19 study performance prediction
Programs and apps: productivity, graphics, security and other tools
Encapsulation theory and applications.pdf
Unlocking AI with Model Context Protocol (MCP)
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
The Rise and Fall of 3GPP – Time for a Sabbatical?
Review of recent advances in non-invasive hemoglobin estimation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...

Data vizualisation: d3.js + sinatra + elasticsearch