Skip to main content

A python package enabling you to use HighCharts with Jupyter, HoloViz Panel and the rest of the tools you know and love

Project description

Panel HighCharts Logo

PyPI version Downloads Python Versions PyPI - License Style Black

Follow on Twitter

📈 Panel HighCharts

The panel-highcharts package makes it easy to use Highcharts from Python for exploratory analysis in a Jupyter Notebook or as a HoloViz Panel Web App.

Check out the panel-highcharts examples on Binder or the article Highly Interactive Data Visualization.

Jupyter Notebook Jupyter Labs Panel Apps
Binder Binder Binder

Panel HighChart Reference Example

🏁 Background

This project was started because a colleague of mine loves to use HighCharts for his analytics trading apps. As there was no really easy way of using HighCharts in Python, Notebooks or Panel, it would be difficult for me, my team and our traders to collaborate. So I created this package in my spare time as an open source project to share with the world.

⚖️ License

The panel-highcharts python package and repository is open source and free to use (MIT License), however Highcharts itself requires a license for commercial use. For more info see the Highcharts license FAQs.

🏃 Getting Started

With pip

pip install panel-highcharts

From within a Jupyter Notebook

import panel_highcharts as ph

import panel as pn
pn.extension('highchart')
configuration = {
    "title": {"text": "HighChart Pane"},
    "series": [
        {
            "name": "series1",
            "data": [1, 2, 3, 4, 5],
        }
    ]
}
ph.HighChart(object=configuration, sizing_mode="stretch_width")

Basic Example

👩‍🏫 Reference Guides

Guide Notebook Jupyter Notebook Jupyter Labs Panel App
HighChart View Binder Binder Binder
HighStock View Binder Binder Binder
HighMap View Binder Binder Binder
HighGantt View Binder Binder Binder

🎨 Gallery

Guide Notebook Jupyter Notebook Jupyter Labs Panel App
AddSeriesDynamically View Binder Binder Binder
Network View Binder Binder Binder
PackedBubble View Binder Binder Binder

💡 Inspiration

You can find more inspiration via

🛣️ Roadmap

When I get the time I would like to

  • Support pandas .plot api via method as .highplot on dataframes
  • Add more examples
  • Add badges for 100% test coverage etc.
  • Distribute as conda package

📰 Change Log

  • 20210619: Add add_series method
  • 20210517: Add PackedBubble example
  • 20210405: Add HighStock, HighMap, HighGantt
  • 20210404: Can now display in Classic Notebook
  • 20210403: First Release to PyPi. Works in Jupyter Lab and Panel App.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

panel-highcharts-20210619.1.tar.gz (35.1 kB view hashes)

Uploaded Source

Built Distribution

panel_highcharts-20210619.1-py3-none-any.whl (52.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page