simple python wrapper for naver billboard.js
pip3 install pybillboard-js
or
python3 -m pip install pybillboard-js
from pybillboard_js.billboarder import *
line_chart = Line(some_dataframe) <- returns lxml.html tree object
line_chart.render() <- returns lxml.html tostring result
line_chart.export(some_path) <- export render() result to destination file
line_chart.dataframe = some_other_dataframe
line_chart.update() <- returns result like generate chart
Line(some_dataframe).update("dataframe", some_other_dataframe).export(some_path)
Line(some_dataframe).export(some_path)
Area(some_dataframe).export(some_path)
Bar(some_dataframe).export(some_path)
Scatter(some_dataframe).export(some_path)
Pie(some_dataframe).export(some_path)
Bubble(some_dataframe).export(some_path)
Area(some_dataframe, stack = True).export(some_path)
Bar(some_dataframe, stack = True).export(some_path)
SpLine(some_dataframe).export(some_path)
AreaSpLine(some_dataframe).export(some_path)
Step(some_dataframe).export(some_path)
AreaStep(some_dataframe).export(some_path)
AreaLineRange(some_dataframe).export(some_path)
AreaSpLineRange(some_dataframe).export(some_path)
Donut(some_dataframe).export(some_path)
Gauge(some_dataframe).export(some_path)
Radar(some_dataframe).export(some_path)
MultipleType(some_dataframe, dictionary_style_type_info).export(some_path)
You can find demo on demo
If you find bugs or have questions, please notice issues on Github