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
32
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
120
Rubyアソシエーション開発助成成果報告会
284km
0
1.8k
Charty - Visualize Real-world Data with Ruby
284km
1
2k
Charty - Visualizing your data in Ruby
284km
0
2k
.so にして色々な言語から便利にのっかろう
284km
0
38
Pragmatic Charty
284km
0
1.9k
Charty (RubyGrant 2018)
284km
0
1.9k
Better CSV processing with Ruby 2.6
284km
0
55
Charty on Rails - Railsdm 2019
284km
3
2k
Other Decks in Programming
See All in Programming
ONE WEDGE_Company_Information
1wedge
0
180
フロントエンドパフォーマンス 入門
shouta2
7
1.5k
C# 大統一理論推進委員会 会員のための Unity Package Manager プロジェクト構成案
monry
PRO
0
580
Laravel OpenAPIによる"辛くない"スキーマ駆動開発
kentaroutakeda
2
2.1k
脱・初心者!脱・マネコン!AWS CDKを使ってみませんか!?
har1101
0
160
Parallel Socket Communication in Swift
s_shimotori
0
250
品質とスピードを両立: TypeScriptの柔軟な型システムをバックエンドで活用する
kosui
5
1.1k
15分間でふんわり理解するDocker @ Matsuriba MAX
ukwhatn
PRO
1
340
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
510
自動テスト実行結果の目的を整理する / Organizing objectives of automated test results
twada
PRO
10
2.1k
Deno に Web 標準 API を実装する / Implementing Web Standard API to Deno
petamoriken
0
350
TCAの Shared Stateって どういう仕組みになってんの?
yimajo
0
330
Featured
See All Featured
Gamification - CAS2011
davidbonilla
76
4.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.4k
Making Projects Easy
brettharned
106
5.4k
A better future with KSS
kneath
230
16k
Debugging Ruby Performance
tmm1
68
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.2k
Designing Experiences People Love
moore
135
23k
Agile that works and the tools we love
rasmusluckow
323
20k
GitHub's CSS Performance
jonrohan
1023
450k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
111
35k
What's in a price? How to price your products and services
michaelherold
236
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
185
15k
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