Sha256: 4c77c0c27eeafc2ca99ab7d27843e3267e1fcde4891b0e5226c992fcd0fb242b
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
# iruby-chartkick [](https://travis-ci.com/Absolventa/iruby-chartkick) You like writing [Ruby within Juypter](https://github.com/SciRuby/iruby/) notebooks? Awesome, you're not alone - we do so, too ☀️ Since we also fell in love with the handy charting API of [ankane/chartkick](https://github.com/ankane/chartkick), we wrote this little gem bringing them together. `iruby-chartkick` was made for easy plug-n-play plotting data using the awesomeness of chartkick within IRuby-backed Jupyter notebooks. ### Installation gem install iruby-chartkick ### Usage You can either include the module `IRuby::Chartkick` and use the wrapper methods, like `line_chart`: ```Ruby include IRuby::Chartkick data = { 2019 => 1, 2020 => 122, 2021 => 34 } line_chart(data) ``` Or you use the chart wrapper classes directly: ```Ruby include IRuby::Chartkick data = { 2019 => 1, 2020 => 122, 2021 => 34 } IRuby::Chartkick::LineChart.new(data).plot ``` ### In a Jupyter notebook: 
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
iruby-chartkick-0.2.0 | README.md |
iruby-chartkick-0.1.0 | README.md |