SlideShare a Scribd company logo
D3.js: DataVisualization
for the Web
Óscar Marín Miró
@outliers_es
www.outliers.es
D3.js - An Overview
‣D3 :“Data-driven Documents”
‣Javascript library
‣Over HTML5 standards
‣Steep learning curve
Technical features
Good for
‣Web Interactivity
‣Multi-device
‣Real-time,‘plastic’ data
Not-so-good for
‣Desktop apps
‣Static charts
‣Fast prototyping
http://en.wikipedia.org/wiki/D3.js
2011, Mike Bostock
Core concept : Data join
Data Elements
Enter Update Exit
http://bost.ocks.org/mike/join/
myData = [1,3,4];
join = data(myData,”svg:circle”);
join.enter().attr(radius,datum);
join.exit().remove();
join.update().attr(radius,datum);
Pseudo-code
CoreConcept:Layouts
myData = {‘nodes’: [
{‘name’:’a’},
{‘name’:’b’}],
‘egdes’:[
{‘source’:0,‘target:1}
]};
layout = layout(‘network’,‘myData’);
print layout;
myData = {‘nodes’: [
{‘name’:’a’,’x’:0,y:1},
{‘name’:’b’,’x’:1,y:0},
‘egdes’:[{‘source’:0,‘target:1}]};
Pseudo-code
References
Any questions?
Thanks for your attention!

More Related Content

PDF
A Quick and Dirty D3.js Tutorial
PDF
Introduction to data visualisations with d3.js — Data Driven Documents
PDF
Learn D3.js in 90 minutes
PDF
D3 data visualization
PPTX
SVCC 2013 D3.js Presentation (10/05/2013)
PPTX
PDF
Learning d3
PPTX
Introduction to D3.js
A Quick and Dirty D3.js Tutorial
Introduction to data visualisations with d3.js — Data Driven Documents
Learn D3.js in 90 minutes
D3 data visualization
SVCC 2013 D3.js Presentation (10/05/2013)
Learning d3
Introduction to D3.js

What's hot (19)

PDF
D3 Basic Tutorial
PDF
D3 js
PDF
D3.js 30-minute intro
PPTX
SVG, CSS3, and D3 for Beginners
PDF
Introduction to d3js (and SVG)
PPTX
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
PDF
Utahjs D3
PDF
Advanced D3 Charting
PDF
Visual Exploration of Large Data sets with D3, crossfilter and dc.js
PDF
JavaScript para Graficos y Visualizacion de Datos
PPTX
Лабораторная работа №1
PPT
SenchaCon 2016: Add Magic to Your Ext JS Apps with D3 Visualizations - Vitaly...
PDF
Creating, Updating and Deleting Document in MongoDB
PDF
New Tools for Visualization in JavaScript - Sept. 2011
PDF
MongoDB Schema Design
PPTX
How to use NoSQL in Enterprise Java Applications - NoSQL Roadshow Basel
PDF
Understanding Connected Data through Visualization
PDF
Java/Scala Lab: Борис Трофимов - Обжигающая Big Data.
D3 Basic Tutorial
D3 js
D3.js 30-minute intro
SVG, CSS3, and D3 for Beginners
Introduction to d3js (and SVG)
D3.JS Tips & Tricks (export to svg, crossfilter, maps etc.)
Utahjs D3
Advanced D3 Charting
Visual Exploration of Large Data sets with D3, crossfilter and dc.js
JavaScript para Graficos y Visualizacion de Datos
Лабораторная работа №1
SenchaCon 2016: Add Magic to Your Ext JS Apps with D3 Visualizations - Vitaly...
Creating, Updating and Deleting Document in MongoDB
New Tools for Visualization in JavaScript - Sept. 2011
MongoDB Schema Design
How to use NoSQL in Enterprise Java Applications - NoSQL Roadshow Basel
Understanding Connected Data through Visualization
Java/Scala Lab: Борис Трофимов - Обжигающая Big Data.
Ad

Viewers also liked (6)

PDF
My last three projects - wins and failures
PDF
D3.js mindblow
PDF
Intro to D3: Data-Driven Documents
PDF
Excel Document Recovery to the Rescue
PPTX
Library Management System PPT
My last three projects - wins and failures
D3.js mindblow
Intro to D3: Data-Driven Documents
Excel Document Recovery to the Rescue
Library Management System PPT
Ad

Similar to D3.js: Data Visualization for the Web (20)

PDF
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
PPTX
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
PDF
Data visualization in JavaScript
PDF
Blazing Fast Analytics with MongoDB & Spark
PPTX
Going Serverless with Azure Functions
PDF
Databricks: A Tool That Empowers You To Do More With Data
PPTX
Webinar: The Anatomy of the Cloudant Data Layer
PDF
MongoDB and Content Delivery at Aviary by Nir Zicherman and Jack Sisson
PDF
Content Delivery at Aviary - NYC MUG 11/19/13
KEY
OSCON 2011 CouchApps
PPTX
Big Data: Guidelines and Examples for the Enterprise Decision Maker
PDF
Data Visualization on the Web - Intro to D3
PDF
Web Performance Part 4 "Client-side performance"
PDF
C* for Deep Learning (Andrew Jefferson, Tracktable) | Cassandra Summit 2016
DOCX
Wei ding(resume)
PDF
MongoDB for Coder Training (Coding Serbia 2013)
PDF
Introduction to data visualisation with D3
PPTX
Cross-Platform Mobile Apps & Drupal Web Services
PDF
What you need to know about Generative AI and Data Management?
PDF
MongoDB for Analytics
[Serverless Meetup Tokyo #3] Serverless in Azure (Azure Functionsのアップデート、事例、デ...
SharePoint Saturday Chicago - Everything your need to know about the Microsof...
Data visualization in JavaScript
Blazing Fast Analytics with MongoDB & Spark
Going Serverless with Azure Functions
Databricks: A Tool That Empowers You To Do More With Data
Webinar: The Anatomy of the Cloudant Data Layer
MongoDB and Content Delivery at Aviary by Nir Zicherman and Jack Sisson
Content Delivery at Aviary - NYC MUG 11/19/13
OSCON 2011 CouchApps
Big Data: Guidelines and Examples for the Enterprise Decision Maker
Data Visualization on the Web - Intro to D3
Web Performance Part 4 "Client-side performance"
C* for Deep Learning (Andrew Jefferson, Tracktable) | Cassandra Summit 2016
Wei ding(resume)
MongoDB for Coder Training (Coding Serbia 2013)
Introduction to data visualisation with D3
Cross-Platform Mobile Apps & Drupal Web Services
What you need to know about Generative AI and Data Management?
MongoDB for Analytics

More from Outliers Collective (20)

PDF
Hacks+Hackers: Airbnb Bcn Data
PDF
3rd Barcelona Virtual Reality Meetup Introduction
PDF
Nuevos usuarios, redes y lenguajes: Instagram y Twitter
PDF
#bigdatacyl: Nuevos usuarios, nuevas redes, nuevos lenguajes
PDF
Data, Cesium.js, StreetView
PDF
Minería de perfiles políticos en Twitter El caso de PP, PSOE y Podemos
PDF
"Las emociones nos conectan, las redes nos unen"
PDF
Big data: Valor y Mercado: Escola Universitària Salesians de Sarrià - UAB
PDF
Análisis Geoespacial y Redes Sociales
PDF
Simple viz, complex analysis
PDF
Big data. What's that?
PDF
VR: El nuevo interfaz
PDF
#DataBeers: Inmersive Data Visualization con Oculus Rift
PDF
European creativity festival 2014: DataViz workshop
PDF
Perfiles y Proceso en la Visualización de la Información - UOC - Mosaic - UX ...
PDF
Esdi - Big Bang Data - ZZZINC - Comunidades y proyectos
PDF
Big data: Valor y Mercado: Escola Universitària Salesians de Sarrià - UAB
PDF
Big data: Valor y Mercado
PDF
Cccb cartografia social
PDF
Building Data Teams - SmashTech BCN 13/02/2014
Hacks+Hackers: Airbnb Bcn Data
3rd Barcelona Virtual Reality Meetup Introduction
Nuevos usuarios, redes y lenguajes: Instagram y Twitter
#bigdatacyl: Nuevos usuarios, nuevas redes, nuevos lenguajes
Data, Cesium.js, StreetView
Minería de perfiles políticos en Twitter El caso de PP, PSOE y Podemos
"Las emociones nos conectan, las redes nos unen"
Big data: Valor y Mercado: Escola Universitària Salesians de Sarrià - UAB
Análisis Geoespacial y Redes Sociales
Simple viz, complex analysis
Big data. What's that?
VR: El nuevo interfaz
#DataBeers: Inmersive Data Visualization con Oculus Rift
European creativity festival 2014: DataViz workshop
Perfiles y Proceso en la Visualización de la Información - UOC - Mosaic - UX ...
Esdi - Big Bang Data - ZZZINC - Comunidades y proyectos
Big data: Valor y Mercado: Escola Universitària Salesians de Sarrià - UAB
Big data: Valor y Mercado
Cccb cartografia social
Building Data Teams - SmashTech BCN 13/02/2014

Recently uploaded (20)

PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Spectroscopy.pptx food analysis technology
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
KodekX | Application Modernization Development
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Machine learning based COVID-19 study performance prediction
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectroscopy.pptx food analysis technology
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
Encapsulation theory and applications.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Programs and apps: productivity, graphics, security and other tools
KodekX | Application Modernization Development
MIND Revenue Release Quarter 2 2025 Press Release
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Chapter 3 Spatial Domain Image Processing.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Machine learning based COVID-19 study performance prediction
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
20250228 LYD VKU AI Blended-Learning.pptx

D3.js: Data Visualization for the Web

  • 1. D3.js: DataVisualization for the Web Óscar Marín Miró @outliers_es www.outliers.es
  • 2. D3.js - An Overview ‣D3 :“Data-driven Documents” ‣Javascript library ‣Over HTML5 standards ‣Steep learning curve Technical features Good for ‣Web Interactivity ‣Multi-device ‣Real-time,‘plastic’ data Not-so-good for ‣Desktop apps ‣Static charts ‣Fast prototyping http://en.wikipedia.org/wiki/D3.js 2011, Mike Bostock
  • 3. Core concept : Data join Data Elements Enter Update Exit http://bost.ocks.org/mike/join/ myData = [1,3,4]; join = data(myData,”svg:circle”); join.enter().attr(radius,datum); join.exit().remove(); join.update().attr(radius,datum); Pseudo-code
  • 4. CoreConcept:Layouts myData = {‘nodes’: [ {‘name’:’a’}, {‘name’:’b’}], ‘egdes’:[ {‘source’:0,‘target:1} ]}; layout = layout(‘network’,‘myData’); print layout; myData = {‘nodes’: [ {‘name’:’a’,’x’:0,y:1}, {‘name’:’b’,’x’:1,y:0}, ‘egdes’:[{‘source’:0,‘target:1}]}; Pseudo-code
  • 6. Any questions? Thanks for your attention!