Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
d3.js
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tgolen
March 20, 2012
Education
0
200
d3.js
An introduction to d3.js
tgolen
March 20, 2012
Tweet
Share
Other Decks in Education
See All in Education
卒論の書き方 / Happy Writing
kaityo256
PRO
54
28k
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
210
栃木県警サイバーセキュリティ研修会2026
nomizone
0
140
Surviving the surfaceless web
jonoalderson
0
350
JavaScript - Lecture 6 - Web Technologies (1019888BNR)
signer
PRO
0
3.1k
渡辺研Slackの使い方 / Slack Local Rule
kaityo256
PRO
10
11k
IKIGAI World Fes:program
tsutsumi
1
2.6k
1202
cbtlibrary
0
200
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
栃木にいても「だいじ」だっぺ〜! 栃木&全国アジャイルコミュニティへの参加・運営の魅力
sasakendayo
1
140
Chapitre_2_-_Partie_3.pdf
bernhardsvt
0
150
Linguaxes de programación
irocho
0
530
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
110
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Speed Design
sergeychernyshev
33
1.5k
Believing is Seeing
oripsolob
1
53
Facilitating Awesome Meetings
lara
57
6.7k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
210
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
Producing Creativity
orderedlist
PRO
348
40k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Transcript
d3.js an introduction
What is it? A JavaScript library for manipulating documents based
on data.
What can it do? • Graphs • Charts • Tables
• Transformations • Interactions • SVG • HTML • Anything
Examples • http://mbostock.github.com/d3/ex/calendar. html • http://mbostock.github.com/d3/ex/chord.html • http://www.visualizing. org/visualizations/urban-water-explorer/
Simple Code Example https://github.com/Nodeable/web-client/blob/master/static/js/4_x/nodeable/views/desktop/widgets/hashtags.js tagCloud.selectAll( '.tag') .data(self.data) .enter().append( 'a') .attr('class',
function(d){ return 'tag height_' + Math.round (tagHeight(d.percent)); }) .attr('title', function(d){ return d.value; }) .style('font-size', function(d){ return Math.round(tagHeight(d. percent)) + 'px'; }) .text(function(d){ return d._id; });
Why should you use it? • You want to visualize
data in unique ways. • You thirst for adventure and challenge. • You don't want to use canned graphs.
Why shouldn't you use it? • It has an extremely
steep learning curve. • You can settle for more simple solutions (highcharts).
Resources d3.js - http://mbostock.github.com/d3/
Questions? Tim Golen Web Developer - Nodeable.com @tgolen http://www.golen.net