Introduction to
d3.js
By,
Ashish Tomer
Software Consultant
Knoldus Software
LLP, Noida
Today’s Agenda
●
What’s d3.js
●
Why d3.js
●
Drawing with d3.js
●
Scales
●
Axes
What’s d3.js
A Javascript library which -
What’s d3.js
A Javascript library which -
●
Draws charts
What’s d3.js
A Javascript library which -
●
Draws charts
●
Visualizes data
What’s d3.js
A Javascript library which -
●
Draws charts
●
Visualizes data
●
Doesn’t provide pre-defined charts
What’s d3.js
A Javascript library which -
●
Draws charts
●
Visualizes data
●
Doesn’t provide pre-defined charts
●
Can be used to develop the real time
dashboards
What’s d3.js
A Javascript library which -
●
Draws charts
●
Visualizes data
●
Doesn’t provide pre-defined charts
●
Can be used to develop the real time dashboards
●
Can’t be used to draw the 3-D charts
Why d3.js
Why d3.js
There are lot of JS libraries for data
visualization.
Why d3.js
There are lot of JS libraries for data
visualization.
Then why another JS library?
Why d3.js
D3 can visualize the big data.
Why d3.js
D3 can visualize the big data.
It can visualize 10’s of thousands of
data nodes in the DOM.
Why d3.js
D3 can visualize the big data.
It can visualize 10’s of thousands of
data nodes in the DOM.
Hence an ideal choice for the
huge data visualization.
Drawing with d3.js
Drawing with D3 requires a basic knowledge
about
●
HTML / CSS
●
SVG
●
Javascript ( or any programming experience )
** To draw the advanced visualization, one needs to have a
knowledge of mathematics (algebra, statistics and geometry).
Scales
● Scales are used to map the domain of data to
a range.
Axes
● Axes map the points on a plain to values.
Demo
D3-learning-project
Thank you

Introduction to D3.js