Coder Social home page Coder Social logo

p5-chart-bokeh's Introduction

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 [email protected]

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

p5-chart-bokeh's People

Contributors

pablrod avatar

Watchers

Mohammad Sajid Anwar avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.