Slide 1

Slide 1 text

Charty with Rails RailsConf 2019 LT Kazuma Furuhashi @284km

Slide 2

Slide 2 text

Hello! •My name is Kazuma •I’m from Japan

Slide 3

Slide 3 text

I’m from Asakusa.rb

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Nice to meet you • Kazuma Furuhashi • GitHub: @284km • Asakusa.rb • Programmer • ruby/csv • red-data-tools/charty

Slide 6

Slide 6 text

Nice to meet you • Kazuma Furuhashi • GitHub: @284km • Asakusa.rb • Programmer • ruby/csv • red-data-tools/charty Write Code

Slide 7

Slide 7 text

Nice to meet you • ruby/csv • I made it 1.5x - 3x faster • red-data-tools/charty • I will introduce! Write Code

Slide 8

Slide 8 text

I will not talk about csv today. ( Details here ) https://slide.rabbit-shocker.org/ authors/kou/rubykaigi-2019/

Slide 9

Slide 9 text

red-data-tools/ Charty

Slide 10

Slide 10 text

Charty is … open-source Ruby library for visualization.

Slide 11

Slide 11 text

Charty is convinient

Slide 12

Slide 12 text

For example, there is data as below…

Slide 13

Slide 13 text

That's all codes we need to write !

Slide 14

Slide 14 text

Visualize as below …

Slide 15

Slide 15 text

Visualize as below …

Slide 16

Slide 16 text

Visualize as below

Slide 17

Slide 17 text

Visualize as below

Slide 18

Slide 18 text

About Charty

Slide 19

Slide 19 text

Charty has two abstraction layers • Data Abstraction Layer • Plotting Abstraction Layer

Slide 20

Slide 20 text

Abstraction Layer We can do what you want in a combination of different languages, data structures, and libraries.

Slide 21

Slide 21 text

Data Abstraction Layer • Daru::DataFrame • Numo::NArray • NMatrix • ActiveRecord

Slide 22

Slide 22 text

Plotting Abstraction Layer • Matplotlib • Gruff • rubyplot • chart.js (Experimental implementation) • 284km/benchmark_driver-output-charty

Slide 23

Slide 23 text

Charty with Rails application

Slide 24

Slide 24 text

Charty with Rails application

Slide 25

Slide 25 text

284km/benchmark_driver-output-charty $ be benchmark-driver examples/parse.yaml -o charty

Slide 26

Slide 26 text

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

Slide 27

Slide 27 text

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