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
Charty with Rails
Search
秒速284km
May 01, 2019
Programming
100
1
Share
Charty with Rails
Charty with Rails - RailsConf2019
秒速284km
May 01, 2019
More Decks by 秒速284km
See All by 秒速284km
fukuoka_ruby_2019
284km
0
200
Rubyアソシエーション開発助成成果報告会
284km
0
2.3k
Charty - Visualize Real-world Data with Ruby
284km
1
2.6k
Charty - Visualizing your data in Ruby
284km
0
2.5k
.so にして色々な言語から便利にのっかろう
284km
0
96
Pragmatic Charty
284km
0
2.5k
Charty (RubyGrant 2018)
284km
0
2.5k
Better CSV processing with Ruby 2.6
284km
0
120
Charty on Rails - Railsdm 2019
284km
3
2.3k
Other Decks in Programming
See All in Programming
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
300
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.3k
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記
mkmk884
0
290
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
440
条件判定に名前、つけてますか? #phperkaigi #c
77web
2
910
Tamach-sre-3_ANDPAD-shimaison93
mane12yurks38
0
230
AI活用のコスパを最大化する方法
ochtum
0
360
モダンOBSプラグイン開発
umireon
0
190
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
300
S3ストレージクラスの「見える」「ある」「使える」は全部違う ─ 体験から見た、仕様の深淵を覗く
ya_ma23
0
1.2k
飯MCP
yusukebe
0
450
Rethinking API Platform Filters
vinceamstoutz
0
4.8k
Featured
See All Featured
Paper Plane
katiecoart
PRO
1
48k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Abbi's Birthday
coloredviolet
2
6.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Producing Creativity
orderedlist
PRO
348
40k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
81
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
What's in a price? How to price your products and services
michaelherold
247
13k
Transcript
Charty with Rails RailsConf 2019 LT Kazuma Furuhashi @284km
Hello! •My name is Kazuma •I’m from Japan
I’m from Asakusa.rb
None
Nice to meet you • Kazuma Furuhashi • GitHub: @284km
• Asakusa.rb • Programmer • ruby/csv • red-data-tools/charty
Nice to meet you • Kazuma Furuhashi • GitHub: @284km
• Asakusa.rb • Programmer • ruby/csv • red-data-tools/charty Write Code
Nice to meet you • ruby/csv • I made it
1.5x - 3x faster • red-data-tools/charty • I will introduce! Write Code
I will not talk about csv today. ( Details here
) https://slide.rabbit-shocker.org/ authors/kou/rubykaigi-2019/
red-data-tools/ Charty
Charty is … open-source Ruby library for visualization.
Charty is convinient
For example, there is data as below…
That's all codes we need to write !
Visualize as below …
Visualize as below …
Visualize as below
Visualize as below
About Charty
Charty has two abstraction layers • Data Abstraction Layer •
Plotting Abstraction Layer
Abstraction Layer We can do what you want in a
combination of different languages, data structures, and libraries.
Data Abstraction Layer • Daru::DataFrame • Numo::NArray • NMatrix •
ActiveRecord
Plotting Abstraction Layer • Matplotlib • Gruff • rubyplot •
chart.js (Experimental implementation) • 284km/benchmark_driver-output-charty
Charty with Rails application
Charty with Rails application
284km/benchmark_driver-output-charty $ be benchmark-driver examples/parse.yaml -o charty
Future Plans • Data Abstraction Layer • Support Red::Arrow •
Improve benchmark_driver-output-charty • Plotting Abstraction Layer • Add type of graph that can be output • Support bokeh ? maybe. • More convenient
Write code, Have fun! • Charty is an open-source Ruby
library for visualizing your data in a simple way. • https://github.com/red-data-tools/charty