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
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
いわゆる「ふつう」のキャリアを歩んだ人の割合(若者向け)
hysmrk
0
300
子どもが自立した学習者となるデジタルの活用について
naokikato
PRO
0
180
あなたの言葉に力を与える、演繹的なアプローチ
logica0419
1
260
IKIGAI World Fes:program
tsutsumi
1
2.6k
10分で学ぶ すてきなモナド
soukouki
1
140
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
270
Surviving the surfaceless web
jonoalderson
0
340
令和エンジニアの学習法 〜 生成AIを使って挫折を回避する 〜
moriga_yuduru
0
230
Linguaxes de programación
irocho
0
520
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
0
140
Design Guidelines and Models - Lecture 5 - Human-Computer Interaction (1023841ANR)
signer
PRO
0
1.3k
KBS新事業創造体験2025_科目説明会
yasuchikawakayama
0
160
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Odyssey Design
rkendrick25
PRO
1
480
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
77
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
580
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
230
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
280
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
310
Leo the Paperboy
mayatellez
4
1.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
How STYLIGHT went responsive
nonsquared
100
6k
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