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
Rickshaw
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
badatmath
March 02, 2014
Technology
410
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rickshaw
Rickshawの紹介
badatmath
March 02, 2014
More Decks by badatmath
See All by badatmath
JavaScript小史
badatmath
13
4.9k
Node.js入門
badatmath
20
10k
Other Decks in Technology
See All in Technology
クラウドセキュリティ入門 ~安全なクラウド利用のための基礎知識~
lhazy
10
7.8k
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
190
FORENSIA: ローカルLLMフォレンジックハーネス
sumeshi
2
210
サイバー捜査員研修(後半)
nomizone
1
760
【CEDEC2026】コードレビュー支援ツール開発から学ぶ:LLMを用いた業務システムの実践的な運用設計と誤出力対策
cygames
PRO
0
590
TypeScript入門 2026
recruitengineers
PRO
2
390
今こそ聞きたいソフトウェア設計 ドメイン駆動設計再入門
masuda220
PRO
17
6.2k
OSPN.JPバージョンアップ作業進捗のご報告 / 20260801-osc26kyoto
akkiesoft
0
300
え?フロントエンドエンジニアの ワイがインフラも!?
puku0x
1
330
ガバメント AI 源内を地方自治体は活用できるのか可能性と課題、期待について
takeda_h
1
220
20260801_スクフェス大阪
kgnkhkr
2
1.2k
JavaScript 研修 (2026)
recruitengineers
PRO
1
350
Featured
See All Featured
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
64
56k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
460
Marketing to machines
jonoalderson
1
5.6k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
350
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
The SEO identity crisis: Don't let AI make you average
varn
0
530
Raft: Consensus for Rubyists
vanstee
141
7.6k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
440
How to Talk to Developers About Accessibility
jct
2
480
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
360
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
300
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
360
Transcript
3JDLTIBXͰ࡞Δ ϦΞϧλΠϜՄࢹԽΞϓϦ @bad_at_math 143݄2༵
Rickshawͱ 143݄2༵
Rickshawͱ w࣌ܥྻσʔλʹϑΥʔΧεͨ͠ɺEKT Λར༻ͨ͠+BWB4DSJQUͷπʔϧΩοτ 143݄2༵
143݄2༵
143݄2༵
؆୯ var g = new Rickshaw.Graph(); graph.render(); 143݄2༵
؆୯ var g = new Rickshaw.Graph(); graph.render(); Koredake desu K
oredake desu 143݄2༵
؆୯ EKTͱͳΜͩͬͨͷ͔ 143݄2༵
ॳظԽ • element : Ͳ͜ग़ྗ͢Δ͔ • width : ෯ •
height : ߴ͞ • series : σʔλྻ 143݄2༵
ॳظԽmore • series : ෳͷάϥϑσʔλͷྻ • { color : “blue”,
data: [σʔλྻ] } 143݄2༵
ॳظԽmore <!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="bower_components/rickshaw/src/css/graph.css"> <script
src="./bower_components/d3/d3.min.js"></script> <script src="./bower_components/rickshaw/rickshaw.min.js"></script> <title></title> </head> <body> <div id="chart"></div> <script> var graph = new Rickshaw.Graph( { element: document.querySelector("#chart"), width: 300, height: 200, series: [{ color: 'steelblue', data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ] }] }); graph.render(); </script> </body> </html> 143݄2༵
ॳظԽmore <!DOCTYPE html> <html> <head> <link type="text/css" rel="stylesheet" href="bower_components/rickshaw/src/css/graph.css"> <script
src="./bower_components/d3/d3.min.js"></script> <script src="./bower_components/rickshaw/rickshaw.min.js"></script> <title></title> </head> <body> <div id="chart"></div> <script> var graph = new Rickshaw.Graph( { element: document.querySelector("#chart"), width: 300, height: 200, series: [{ color: 'steelblue', data: [ { x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ] }] }); graph.render(); </script> </body> </html> divͰλʔήοτࢦఆ άϥϑඳը Rickshaw.GraphͷΠϯελϯεԽ 143݄2༵
ॳظԽmore colorͰ৭ࢦఆ σʔλྻ series: [{ color: 'steelblue', data: [ {
x: 0, y: 40 }, { x: 1, y: 49 }, { x: 2, y: 38 }, { x: 3, y: 30 }, { x: 4, y: 32 } ] }] 143݄2༵
DEMO 143݄2༵
͜Ε͚ͩ <!doctype html> <html> <head> <link type="text/css" rel="stylesheet" href="bower_components/rickshaw/src/css/graph.css"> <link
type="text/css" rel="stylesheet" href="bower_components/rickshaw/examples/css/lines.css"> <script src="bower_components/d3/d3.min.js"></script> <script src="bower_components/socket.io-client/dist/socket.io.min.js"></script> <script src="bower_components/rickshaw/rickshaw.min.js"></script> </head> <body> <div id="chart_container"> <div id="chart"></div> </div> <script> var socketioGraph = new Rickshaw.Graph.Socketio( { element: document.getElementById("chart"), width: 900, height: 500, renderer: 'line', dataURL: "http://localhost:8000", onData: function(d) { Rickshaw.Series.zeroFill(d); return d } } ); </script> </body> </html> divͰλʔήοτࢦఆ Πϯελϯε࡞ 143݄2༵
DEMOิ WebSocket Data Emitter Browser (Rickshaw) Data Metrics 143݄2༵
·ͱΊ Rickshaw͏ͱ ࣌ܥྻσʔλΛ ؆୯ՄࢹԽ㽈 143݄2༵