Chart::Bokeh - Generate html/javascript charts from perl data using javascript library BokehJS
version 0.001
use Chart::Bokeh qw(show_plot);
my $plot_data = {x => [0..10], y => [map {rand 10} 0..10]};
show_plot($plot_data);
Generate html/javascript charts from perl data using javascript library BokehJS. The result is a file that you could see in your favourite browser.
The interface is "sub" oriented, but the API is subject to changes.
-
data:
Data to be represented. This early version only accept data as a hashref with keys x, y and arrayrefs as the values:
{ x => [1, 2, 3], y => [1, 4, 9] }
Opens the plot in a browser locally
Data to be represented. The format is the same as the parameter data in render_full_html
This is an unofficial Bokeh Perl module. Currently I'm not affiliated in any way with Bokeh, nor Continuum Analytics, Inc. But I think bokeh.js is a great library and I want to use it with perl. Please see: http://bokeh.pydata.org/en/latest/
Pablo Rodríguez González [email protected]
This software is Copyright (c) 2016 by Pablo Rodríguez González.
This is free software, licensed under:
The (three-clause) BSD License