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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
秒速284km
May 01, 2019
Programming
1
100
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
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
93
Pragmatic Charty
284km
0
2.5k
Charty (RubyGrant 2018)
284km
0
2.5k
Better CSV processing with Ruby 2.6
284km
0
110
Charty on Rails - Railsdm 2019
284km
3
2.3k
Other Decks in Programming
See All in Programming
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
490
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.5k
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
370
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
2
140
nilとは何か 〜interfaceの構造とnil!=nilから理解する〜
kuro_kurorrr
3
1.7k
手戻りゼロ? Spec Driven Developmentとは@KAG AI week
tmhirai
1
170
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
140
Docコメントで始める簡単ガードレール
keisukeikeda
1
100
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
10
2.5k
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
250
Claude Code の Skill で複雑な既存仕様をすっきり整理しよう
yuichirokato
1
310
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
200
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.4k
We Are The Robots
honzajavorek
0
190
Side Projects
sachag
455
43k
Documentation Writing (for coders)
carmenintech
77
5.3k
The Cult of Friendly URLs
andyhume
79
6.8k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
130
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Leo the Paperboy
mayatellez
4
1.5k
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