SlideShare a Scribd company logo
D3.js for beginners
What is data visualization ?
Kota Fujishiro
Front end web developer
Internship at LIG.inc
D3.js
https://d3js.org/
What’s data visualization ?
You can understand something
vaguely at first sight.
William Playfair(1759 – 1823)
He is a political economist and the founder of graphical methods of statistics.
www.nytimes.com/interactive/2012/05/17/business/dealbook/how-
the-facebook-offering-compares.html
How to make data visualization?
D3.js
https://d3js.org/
The Most Detailed Maps
You’ll See From the Midterm Elections
http://www.nytimes.com/interactive/2014/11/04/upshot/senate-maps.html
TheTech I.P.O’s
http://www.nytimes.com/interactive/2012/05/17/business/dealbook/how-
the-facebook-offering-compares.html
A lot of samples
https://github.com/d3/d3/wiki/Gallery
The basic flow of D3.js
1.Data(JSON,XML,XSV…etc)
2.Driven(Bind the data.Output follow the data.)
3.Documents
The basic idea to understand D3.js
1.MethodChain
It similar with jQuery. d3. is same to $.
Result of before method is input value of next method.
2.Scale
Adjust input dataset to output range.
d3.min : get minimum value of dataset.
d3.max : get maximum value of dataset.
range : designate maximum and minimum value of output range.
3,DataMethod
It keeps data. And the we can select each data.
simple histogram
D3.js for beginners
D3.js for beginners
samples
samples
samples
samples
samples
About Data Binding
The .enter() command matches the selectAll statement with the
number of elements in the array/object, and determines the number
of elements that will need to be created.
About Data Binding
The .enter() command matches the selectAll statement with the
number of elements in the array/object, and determines the number
of elements that will need to be created.
About Scale
Scales are functions that
map an input domain to an
output range.
About Scale
For example, If you want to set these dataset to 0px to 450px line,
you have to do normalization of numbers.
D3.js
https://d3js.org/
Future Tasks
https://d3js.org/
1. Get the data using web scraping and write
Node.js. Express dynamic data visualization.
2. Learn how to write React.js with D3.js
Thanks!

More Related Content

Viewers also liked (20)

PPTX
Introduction to D3.js
Oleksii Prohonnyi
 
PDF
D3 js
Ynon Perek
 
PDF
D3.js workshop
Anton Katunin
 
PPTX
Dreamforce 2014 - Introduction to d3.js
ramanathanp82
 
PDF
Vaidas Morkevičius - Open Data for Enhancing the Quality of Research
Aidis Stukas
 
DOCX
Clase tatiana adriana
tatiana-vasquez
 
PPTX
G. Tautkeviciene and I. Ceseviciute. Open Science in Horizon 2020: Open Aire ...
Aidis Stukas
 
PDF
Mantas Zimnickas - How Open is Lithuanian Government data? atviriduomenys.lt
Aidis Stukas
 
KEY
Interactive Data Visualization (with D3.js)
Lynn Cherny
 
PDF
Saulius Gražulis The Crystalography Open Database
Aidis Stukas
 
PPTX
„Kūrybinės partnerystės" (2015)
Kūrybinės Partnerystės
 
PDF
Big Data Introduction to D3
Vishal Kumar
 
PDF
dr. Agnė Paliokaitė (VisionaryAnalytics) Profesinė doktorantūra – įrankis mok...
Aidis Stukas
 
PDF
GraphQL: Enabling a new generation of API developer tools
Sashko Stubailo
 
PDF
Brigita Serafinavičiūtė. Open science – The Essential Ingredient of Our Future
Aidis Stukas
 
PDF
GraphQL
Joel Corrêa
 
PDF
GraphQL Story: Intro To GraphQL
Riza Fahmi
 
PDF
Machine Intelligence at Google Scale: TensorFlow
DataWorks Summit/Hadoop Summit
 
PDF
THE SMARTEST INVESTMENT: A FRAMEWORK FOR BUSINESS ENGAGEMENT IN EDUCATION
UNICEF Education
 
Introduction to D3.js
Oleksii Prohonnyi
 
D3 js
Ynon Perek
 
D3.js workshop
Anton Katunin
 
Dreamforce 2014 - Introduction to d3.js
ramanathanp82
 
Vaidas Morkevičius - Open Data for Enhancing the Quality of Research
Aidis Stukas
 
Clase tatiana adriana
tatiana-vasquez
 
G. Tautkeviciene and I. Ceseviciute. Open Science in Horizon 2020: Open Aire ...
Aidis Stukas
 
Mantas Zimnickas - How Open is Lithuanian Government data? atviriduomenys.lt
Aidis Stukas
 
Interactive Data Visualization (with D3.js)
Lynn Cherny
 
Saulius Gražulis The Crystalography Open Database
Aidis Stukas
 
„Kūrybinės partnerystės" (2015)
Kūrybinės Partnerystės
 
Big Data Introduction to D3
Vishal Kumar
 
dr. Agnė Paliokaitė (VisionaryAnalytics) Profesinė doktorantūra – įrankis mok...
Aidis Stukas
 
GraphQL: Enabling a new generation of API developer tools
Sashko Stubailo
 
Brigita Serafinavičiūtė. Open science – The Essential Ingredient of Our Future
Aidis Stukas
 
GraphQL
Joel Corrêa
 
GraphQL Story: Intro To GraphQL
Riza Fahmi
 
Machine Intelligence at Google Scale: TensorFlow
DataWorks Summit/Hadoop Summit
 
THE SMARTEST INVESTMENT: A FRAMEWORK FOR BUSINESS ENGAGEMENT IN EDUCATION
UNICEF Education
 

Similar to D3.js for beginners (20)

PDF
Georgina Armstrong - Data Visualisations. Making Boring Data Exciting and Emp...
Saratoga
 
PDF
Strata Conference NYC 2013 Full Version
Taewook Eom
 
PDF
From Dataism to Customer Data Platform
Trieu Nguyen
 
PDF
Visualising Data with Code
Ri Liu
 
PDF
How Data Visualization Enhances the News
Inside Analysis
 
PDF
Strata Conference NYC 2013
Taewook Eom
 
PPTX
"What is Data Science?" High School Version
Renee Teate
 
PDF
Getting started with infographics
Lorena Swetnam
 
PDF
Tableau Tutorial Complete by Rohit Dubey
kiranrajat
 
PPT
Visualizing data spring2012
Lisa Kurt
 
PDF
Explore Data: Data Science + Visualization
Roelof Pieters
 
PDF
Scaling ideas and principles
Christian Heilmann
 
PPTX
#EnterpriseBrain EN - #spsnh
Nicolas Georgeault
 
PDF
From dataism to customer data platform from Triều Nguyễn
Duy, Vo Hoang
 
PDF
Brief introduction to data visualization
Zach Gemignani
 
PPTX
Introduction to Data Visualization - Code Heroku
codeheroku
 
PPT
Data Visualization
Tarek Amr
 
PPTX
"What is Data Science?"
Renee Teate
 
PPTX
Worst Practices of SharePoint 2010
Dan Usher
 
PPTX
Data Visualization
Madelyn Cox
 
Georgina Armstrong - Data Visualisations. Making Boring Data Exciting and Emp...
Saratoga
 
Strata Conference NYC 2013 Full Version
Taewook Eom
 
From Dataism to Customer Data Platform
Trieu Nguyen
 
Visualising Data with Code
Ri Liu
 
How Data Visualization Enhances the News
Inside Analysis
 
Strata Conference NYC 2013
Taewook Eom
 
"What is Data Science?" High School Version
Renee Teate
 
Getting started with infographics
Lorena Swetnam
 
Tableau Tutorial Complete by Rohit Dubey
kiranrajat
 
Visualizing data spring2012
Lisa Kurt
 
Explore Data: Data Science + Visualization
Roelof Pieters
 
Scaling ideas and principles
Christian Heilmann
 
#EnterpriseBrain EN - #spsnh
Nicolas Georgeault
 
From dataism to customer data platform from Triều Nguyễn
Duy, Vo Hoang
 
Brief introduction to data visualization
Zach Gemignani
 
Introduction to Data Visualization - Code Heroku
codeheroku
 
Data Visualization
Tarek Amr
 
"What is Data Science?"
Renee Teate
 
Worst Practices of SharePoint 2010
Dan Usher
 
Data Visualization
Madelyn Cox
 
Ad

Recently uploaded (20)

PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
TrustArc Webinar - Navigating Data Privacy in LATAM: Laws, Trends, and Compli...
TrustArc
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Ad

D3.js for beginners