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
Security, Privacy and Trust - Lecture 11 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
くまのココロンともぐらのロジ
frievea
0
150
JAPAN AI CUP Prediction Tutorial
upura
1
550
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
1
2.2k
子どもが自立した学習者となるデジタルの活用について
naokikato
PRO
0
180
IHLヘルスケアリーダーシップ研究会17期説明資料
ihlhealthcareleadership
0
850
1202
cbtlibrary
0
200
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
270
子どものためのプログラミング道場『CoderDojo』〜法人提携例〜 / Partnership with CoderDojo Japan
coderdojojapan
PRO
4
18k
あなたの言葉に力を与える、演繹的なアプローチ
logica0419
1
270
The Next Big Step Toward Nuclear Disarmament
hide2kano
0
210
【dip】「なりたい自分」に近づくための、「自分と向き合う」小さな振り返り
dip_tech
PRO
0
230
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Navigating Team Friction
lara
192
16k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
55
The Pragmatic Product Professional
lauravandoore
37
7.1k
Design in an AI World
tapps
0
140
Code Reviewing Like a Champion
maltzj
527
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
New Earth Scene 8
popppiees
1
1.5k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
310
Making Projects Easy
brettharned
120
6.6k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
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