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
1
58
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
170
Rubyアソシエーション開発助成成果報告会
284km
0
2.1k
Charty - Visualize Real-world Data with Ruby
284km
1
2.3k
Charty - Visualizing your data in Ruby
284km
0
2.2k
.so にして色々な言語から便利にのっかろう
284km
0
61
Pragmatic Charty
284km
0
2.2k
Charty (RubyGrant 2018)
284km
0
2.2k
Better CSV processing with Ruby 2.6
284km
0
78
Charty on Rails - Railsdm 2019
284km
3
2.2k
Other Decks in Programming
See All in Programming
Cursorを活用したAIプログラミングについて 入門
rect
0
110
The Evolution of the CRuby Build System
kateinoigakukun
1
740
スモールスタートで始めるためのLambda×モノリス(Lambdalith)
akihisaikeda
2
300
flutter_kaigi_mini_4.pdf
nobu74658
0
120
The Implementations of Advanced LR Parser Algorithm
junk0612
1
850
Optimizing JRuby 10
headius
0
510
AIコーディングの理想と現実
tomohisa
33
35k
七輪ライブラリー: Claude AI で作る Next.js アプリ
suneo3476
1
130
SwiftDataのカスタムデータストアを試してみた
1mash0
0
130
Unlock the Potential of Swift Code Generation
rockname
0
270
ComposeでWebアプリを作る技術
tbsten
0
120
Java 24まとめ / Java 24 summary
kishida
3
510
Featured
See All Featured
Code Review Best Practice
trishagee
67
18k
KATA
mclloyd
29
14k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
136
33k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Build your cross-platform service in a week with App Engine
jlugia
230
18k
BBQ
matthewcrist
88
9.6k
Rebuilding a faster, lazier Slack
samanthasiow
81
8.9k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Statistics for Hackers
jakevdp
798
220k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
5
570
Designing for humans not robots
tammielis
253
25k
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