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
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
【CEDEC2026】ゲームシナリオライターを支援するAIツール開発の実践 ― 設計とプロンプトの工夫 ―
cygames
PRO
1
640
現場で使える AWS DevOps Agent 活用ノウハウ - Release Management 機能の検証結果を添えて / AWS DevOps Agent Release Management and Know-How
kinunori
5
890
Data Hubグループ 紹介資料
sansan33
PRO
0
3.1k
20260801_スクフェス大阪
kgnkhkr
1
980
CloudWatchから始めるAWS監視
butadora
0
310
サイバー捜査員研修(前半)
nomizone
1
830
OSPN.JPバージョンアップ作業進捗のご報告 / 20260801-osc26kyoto
akkiesoft
0
170
Claude Code並行開発環境の ムダ‧ムラ‧ムリを見直した話
muranakaaa
2
410
NetBoxを利用した作業効率化の試み_NetDevNight4
tnoha
0
450
A Bag-of-Documents Model for Query Specificity
dtunkelang
0
200
運用を犠牲にせずコストを制御し事業成長を支える B2B SaaS ID管理基盤におけるS3 Tableのログストレージ活用
kaminashi
1
150
信頼できるテスティングAIをどう育てるか?
odan611
0
190
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Design in an AI World
tapps
1
270
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
200
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
280
What does AI have to do with Human Rights?
axbom
PRO
1
2.3k
Building Applications with DynamoDB
mza
96
7.2k
Darren the Foodie - Storyboard
khoart
PRO
3
3.5k
The Cost Of JavaScript in 2023
addyosmani
55
10k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
460
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
200
Making Projects Easy
brettharned
120
6.7k
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༵