An adventure with
daru-view
Shekhar Prasad Rajak(
@shekharrajak
)
(Author of SciRuby/daru-view gem)
What do we need for interactive charts
JavaScript library
A simple API
Different js libraries in different cases
Must be usable in web application as well as normal Ruby code (iruby notebook).
daru-view ?
Uses popular js libraries.
Interactive and easy to use if you are familiar with js library.
Usable in ruby web application and iruby notebook.
JavaScript libraries?
Google Charts
HighCharts
DataTables
Nyaplot
Let's have a look..
GoogleCharts
Line Chart
Bar Chart
Pie Chart
Column Chart
Google DataTable in Nanoc web app
Basic examples
HighCharts
Basic examples
Area Chart
Column Chart
Dynamic Chart
Combinations
Pie Chart
Nyaplot
Basic daru examples
More examples
Basic examples
DataTables
Basic table in heroku app
Future improvements/ideas
Adding more features from the update js libraries
Updating dependentjsĀ
GSoC 2018 Ideas for daru-view
Related links
SciRuby blog/daru-view
daru-view github repo
GSoC 2017 blog post
Thanks !
Made with Slides.com