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
Nyaplot - a data visualization tool for Ruby
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
domitry
January 18, 2015
Programming
760
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Nyaplot - a data visualization tool for Ruby
フクオカRuby大賞2014発表資料
domitry
January 18, 2015
More Decks by domitry
See All by domitry
Topics about SciRuby @dcmodel/davis tutorial, Kobe
domitry
0
250
The Elements of Statistical Learning 読書会 3.4章
domitry
0
340
PCで絵をかこう!
domitry
0
600
JavaScript&可視化講習会#1
domitry
1
710
精神は物理的に記述できるか
domitry
0
180
RubyとFortranの話
domitry
0
400
Nyaplotの紹介@U-22プロコン
domitry
1
210
D3.js入門
domitry
0
4.4k
3Dプリンタの使用感に関する考察
domitry
1
340
Other Decks in Programming
See All in Programming
MIZARU@SPAJAM2026 第二回予選
1901drama
0
110
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
110
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
20260828_品質と開発生産性を両立させる、AI時代のE2Eテストの考え方
magicpod
0
160
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
470
이 함수, 실패하면 어떻게 되나요? null부터 Rich Errors까지, Kotlin 에러 처리 15년
haeti2
0
140
AIエージェント時代のコードレビューを設計する
nogu66
6
2.5k
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
2
120
週末にAI-DLCを本気で回したら$1,600溶けた
hbashimizu
0
130
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
3
1k
【DroidKaigi 2026】「アクセシビリティを利用するとき、 アクセシビリティもまたこちらを利用している」 〜マルウェアによる攻撃と防衛について〜
halunoyo
0
400
Hono + Inertia + React で LP を構築した話
oukayuka
2
210
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
440
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
920
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
690
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
360
Building Applications with DynamoDB
mza
96
7.2k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
470
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
The Language of Interfaces
destraynor
162
27k
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Chasing Engaging Ingredients in Design
codingconduct
0
300
Transcript
データ可視化ライブラリNyaplot 大阪大学 基礎工学部 2年 西田 直樹 (@domitry)
Nyaplotとは • Ruby+JavaScript+SVGなグラフライブラリ • 研究者・学生のグラフ作成作業を楽に (http://www.github.com/domitry/nyaplot)
(https://www.youtube.com/watch?v=ZxjqsIluM88)
特徴 • 対話的なプロットの作成 • 公開の簡単さ • 豊富なプロット
1. 対話的な操作 • IRuby notebookとの統合
2. 共有の簡単さ • Notebookをアップロードすることでデータを解析する コードをプロットの結果ごと共有できる • 閲覧にはnbviewerというWebサービスを利用 (http://nbviewer.ipython.org)
Sinatra/Railsとの連携 (https://github.com/domitry/sinatra_nyaplot) 初期値を元にサーバー側 で微分方程式を解く
• 標準で7つの2Dグラフをサポート 3. 様々なプロット
3. 様々なプロット • グラフの要素一部だけを定義・交換できる仕組み 背景 座標系 グラフ
• Mapnya: メルカトル図法他の座標系を定義 3. 様々なプロット
• Nyaplot3D (標準で付属) • Bionya (http://www.github.com/domitry/bionya)
Rubyの活用箇所 • Rubyの柔軟さを生かした設計 • 拡張を自由に書けるように • 統計処理ライブラリStatsampleとデータ構造の互換性 (http://nbviewer.ipython.org/github/domitry/Iris/blob/master/Iris.ipynb)
Rubyコミュニティへのインパクト • 昨年公開後、紹介記事が話題に • http://chezou.hatenablog.com/entry/2015/01/11/031931 • http://domitry.hatenablog.jp/entry/science_with_ruby • 関連するgem開発の活性化 •
IRubyへのコミット • Dataframe gemが複数誕生 (Mikon, daru)
“今日では、科学計算のあらゆる方面のためのツールが Pythonならすぐに手に入る。そしてますます多くの事例 で、競合の美味しいところを奪っている。” - 科学計算における均質化、あるいはなぜPythonが着実に他言語の シェアを奪っているか (https://chezou.wordpress.com/2014/01/18) 科学の世界ではPythonが圧倒的に強い
“But! it turns out that Ruby isn‘t without its data
enthusiasts. (中略) an interactive data visualization package (Nyaplot)” - I hail from the world of Python (http://www.ashmayo.com/blog/2014/10/4/i-hail-from-the- world-of-python) Rubyが好きな人への広まり
一般の研究者・学生への普及 • いいツールを探す研究者・新しく研究を始める学生へ 響くライブラリへ • 活用事例 • Finding shape consensus
among multiple geo polygons (http://nbviewer.ipython.org/gist/mgiraldo/a68b53175ce58 92531bc)
Nyaplotのこれから • DataFrameの整備 (Nyaplot::DataFrameからMikonへ) • グラフを操作することでRubyの コードが走るような仕組みの実現 (http://epiviz.github.io/)
Link • http://www.github.com/domitry/nyaplot • http://www.github.com/domitry/nyaplotjs • http://www.github.com/domitry/mikon • http://sciruby.com/blog/ •
http://domitry.hatenablog.jp/entry/2014/08/23/215 630 • http://domitry.hatenablog.jp/entry/science_with_rub y