Engaging plots, made easy.

Easily turn your data into engaging visualizations. Powerful API for coders. Powerful app for everyone.

main.py
notebook.ipynb
from plotapi import Chord

Chord(matrix, names).show()

API for coders

Displaying in notebook

PlotAPI supports displaying interactive visualizations directly within Jupyter Notebooks. This includes Jupyter Lab, Jupyter Notebook Classic, Google Colab, and more.


We’ve already activated our license with the license activation instructions.

Let’s demonstrate the different output formats we can output to a notebook – inline!

Save locally or upload to cloud

You can do more within a notebook than just display visualizations inline. You can save locally and upload to cloud too!

We’ll use the following data to create a Chord diagram in our examples.

from plotapi import Chord 

matrix = [
    [0, 5, 6, 4, 7, 4],
    [5, 0, 5, 4, 6, 5],
    [6, 5, 0, 4, 5, 5],
    [4, 4, 4, 0, 5, 5],
    [7, 6, 5, 5, 0, 4],
    [4, 5, 5, 5, 4, 0],
]

names = ["Action", "Adventure", "Comedy", "Drama", "Fantasy", "Thriller"]

Interactive HTML

Call .show() to display an interactive visualization within a notebook.

Chord(matrix, names).show()
PlotAPI - Chord Diagram

Animated video

Call .show_mp4() to display an animated MP4 video of the visualization within a notebook.

Chord(matrix, names).show_mp4()

Static image

Call .show_png() to display a static PNG image of the visualization within a notebook.

Chord(matrix, names).show_png()
Notebook PNG image
Previous
License activation