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
37
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
130
Rubyアソシエーション開発助成成果報告会
284km
0
1.9k
Charty - Visualize Real-world Data with Ruby
284km
1
2.2k
Charty - Visualizing your data in Ruby
284km
0
2.1k
.so にして色々な言語から便利にのっかろう
284km
0
41
Pragmatic Charty
284km
0
2.1k
Charty (RubyGrant 2018)
284km
0
2.1k
Better CSV processing with Ruby 2.6
284km
0
59
Charty on Rails - Railsdm 2019
284km
3
2.1k
Other Decks in Programming
See All in Programming
Kubernetes上でOracle_Databaseの運用を楽にするOraOperatorの紹介
nnaka2992
0
170
/←このスケジュール表に立ち向かう フロントエンド開発戦略 / A front-end development strategy to tackle a single-slash schedule.
nrslib
1
430
知られざるNaNの世界
hole
3
1.1k
Micro Frontends for Java Microservices - dev2next 2024
mraible
PRO
0
230
ポケモンで考えるコミュニケーション / Communication Lessons from Pokémon
mackey0225
5
220
CSC509 Lecture 05
javiergs
PRO
0
180
UnJSで簡単に始めるCLIツール開発 / cli-tool-development-with-unjs
aoseyuu
2
380
のびしろを広げる巻き込まれ力:偶然を活かすキャリアの作り方/oso2024
takahashiikki
1
250
個人開発で使ってるやつを紹介する回
yohfee
1
730
学生の時に開催したPerl入学式をきっかけにエンジニアが組織に馴染むために勉強会を主催や仲間と参加して職能間の境界を越えていく
ohmori_yusuke
2
330
メルカリ ハロ アプリの技術スタック
atsumo
2
880
Why I Choose NetBeans for Jakarta EE
ivargrimstad
0
850
Featured
See All Featured
Speed Design
sergeychernyshev
23
550
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
43
6.6k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Faster Mobile Websites
deanohume
304
30k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Six Lessons from altMBA
skipperchong
26
3.4k
Practical Orchestrator
shlominoach
186
10k
Imperfection Machines: The Place of Print at Facebook
scottboms
264
13k
Facilitating Awesome Meetings
lara
49
6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Testing 201, or: Great Expectations
jmmastey
38
7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
340
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