Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Charty with Rails
秒速284km
May 01, 2019
Programming
1
24
Charty with Rails
Charty with Rails - RailsConf2019
秒速284km
May 01, 2019
Tweet
Share
More Decks by 秒速284km
See All by 秒速284km
fukuoka_ruby_2019
284km
0
75
Rubyアソシエーション開発助成成果報告会
284km
0
1.2k
Charty - Visualize Real-world Data with Ruby
284km
1
1.3k
Charty - Visualizing your data in Ruby
284km
0
1.3k
.so にして色々な言語から便利にのっかろう
284km
0
28
Pragmatic Charty
284km
0
1.3k
Charty (RubyGrant 2018)
284km
0
1.3k
Better CSV processing with Ruby 2.6
284km
0
49
Charty on Rails - Railsdm 2019
284km
3
1.7k
Other Decks in Programming
See All in Programming
IE Graduation Certificate
jxck
6
4.8k
heyにおけるCI/CDの現状と課題
fufuhu
3
560
LINE Messaging APIの概要 - LINE API総復習シリーズ
uezo
1
180
What's new in Android development tools まとめ
mkeeda
0
380
Reactive Java Microservices on Kubernetes with Spring and JHipster
deepu105
1
170
"What's new in Swift"の要約 / swift_5_7_summary
uhooi
1
340
オブジェクト指向で挫折する初学者へ
deepoil
0
190
iOS 16からのロック画面Widget争奪戦に備える
tsuzuki817
0
250
IE Graduation (IE の功績を讃える)
jxck
20
12k
VisualProgramming_GoogleHome_LINE
nearmugi
1
230
Power Automateドリブンのチームマネジメント
hanaseleb
0
190
Improving Developer Experience Through Tools and Techniques 2022
krzysztofzablocki
0
1.2k
Featured
See All Featured
Debugging Ruby Performance
tmm1
65
10k
Designing Experiences People Love
moore
130
22k
Raft: Consensus for Rubyists
vanstee
126
5.4k
5 minutes of I Can Smell Your CMS
philhawksworth
196
18k
Keith and Marios Guide to Fast Websites
keithpitt
404
21k
Happy Clients
brianwarren
89
5.6k
Product Roadmaps are Hard
iamctodd
34
6.5k
Build your cross-platform service in a week with App Engine
jlugia
219
17k
Adopting Sorbet at Scale
ufuk
63
7.6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
37
3.3k
Faster Mobile Websites
deanohume
294
28k
Large-scale JavaScript Application Architecture
addyosmani
499
110k
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