I went to ⿓⼭寺 There are many other places I would like to go, but I will not calm down until the presentation is over :) I'm looking forward to it. 九份 象⼭ 猫空 etc ...
Bubble tea Recently very popular in Japan. But I drank bubble tea for the first time in Taiwan Thank you Stan(@_st0012). He is very kind. He guided me to bubble tea I drink different taste every day It's taste terrific. I love it. I love this tea.
Tea I'm interested in teas other than "Bubble" tea. I wanna go to 猫空. and I wanna get delicious tea. By the way, tea is pronounce in Chinese and Japanese. 茶(cha)
About Charty Charty is a open-source Ruby library for visualizing your data in a simple way. For example such a graph, such a graph, or such a graph or something like this, etc. We can easily plot with Charty
Plotting Abstraction Layer The difference is one line. Here is one of the features of Charty We can easily switch back-end libraries with almost the same code e.g.) left: Pyplot, right: Gruff
About each backend I feel that Pyplot has the largest number of graph types that can be output. When we want to add a graph to support, we often implement Pyplot first as a reference implementation. After that, we will implement other libraries.
Other cases about backend For example, google-charts, bokeh, plotly These were implemented by a pull request that "I'd like to use if this library is supported by the back end of Charty" If there is a real User and Real-world use case exists, it depends on the priority with other work, but consider support for a new backend. At the moment we are developing that way
Ruby Association Grant Charty is a project of Ruby Association Grant 2018 this is my proposal at the time If you are interested, You may wish to apply for the Ruby Association Grant 2019 :) (Application for 2019 has not started yet)
Data Abstraction Layer daru numo/narray nmatrix ActiveRecord (demo) Thus, it can respond to various data structures. That's because Charty::Table is abstracted.
Feature summary of Charty Charty has two abstraction layers. Data Abstraction Layer Plotting Abstraction Layer. So we can use the data structures we need We can use output libraries we want to use.
Introduction of various use cases The examples so far have mainly introduced back-ends that output graph images. Recently, we introduced Charty in our production environment of Web Application, which is our job. This Web Application is a common Rails Application. At that time, we were asking for Charty to output json, not the image. Here is an example using plotly.js (demo)
Another sample Chart.js this is another sample application using Chart.js as a Charty backend. this case, Charty returns HTML includes javascript code to need. This is an experimental implementation, but I would like to have features abstracted according to the use case.