Skip to content

manwar/p5-Chart-Bokeh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NAME

Chart::Bokeh - Generate html/javascript charts from perl data using javascript library BokehJS

VERSION

version 0.001

SYNOPSIS

use Chart::Bokeh qw(show_plot);

my $plot_data = {x => [0..10], y => [map {rand 10} 0..10]};

show_plot($plot_data);

DESCRIPTION

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.

FUNCTIONS

render_full_html

Parameters

  • data:

    Data to be represented. It could be:

    • Perl data structure of the json expected by BokehJS: http://plot.ly/javascript/reference/ (this data would be serialized to JSON)
    • Anything that could be serialized to JSON with the json expected by BokehJS

show_plot

Opens the plot in a browser locally

Parameters

Data to be represented. The format is the same as the parameter data in render_full_html

DISCLAIMER

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/

AUTHOR

Pablo Rodríguez González pablo.rodriguez.gonzalez@gmail.com

COPYRIGHT AND LICENSE

This software is Copyright (c) 2016 by Pablo Rodríguez González.

This is free software, licensed under:

The (three-clause) BSD License

About

Generate html/javascript charts from perl data using javascript library BokehJS

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%