Engaging plots, made easy.

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

main.py
notebook.ipynb
main.rs
from plotapi import Chord

Chord(matrix, names).show()

Visualizations Showcase

Video Game Publishers and Genres with SplitChord

In this notebook we're going to use PlotAPI SplitChord to visualise the co-occurrences between genres and publishers in video game titles. We"ll use Python, but PlotAPI can be used from any programming language.


Preamble

import json

from plotapi import SplitChord

Introduction

In this notebook we're going to use PlotAPI SplitChord to visualise the co-occurrences between genres and publishers in video game titles. We"ll use Python, but PlotAPI can be used from any programming language.

Dataset

We're going to use the Video Game Sales dataset, a copy of which is available at this link. Let"s get loading the data.

with open("video_games.json", "r") as f:
    data = json.load(f)

Visualisation

Let's use PlotAPI Chord for this visualisation.

plot = SplitChord(
    data["links"],
    data["nodes"],
    colors=data["colors"],
    margin=140,
)

Display inline

plot

Upload to cloud

With our plot created, let's upload it to PlotAPI cloud and get a shareable link.

plot.upload(
    name="Video Game Publishers and Genres",
    description='''In this notebook we're going to use PlotAPI SplitChord to visualise the co-occurrences between genres and publishers in video game titles. We"ll use Python, but PlotAPI can be used from any programming language.''',
    maximized=True,
    public=True,
)
Your visualization has been uploaded successfully! You can view and share it at https://plotapi.com/explore/view/21f2d225-9dda-4508-8ac9-c0ef16726b33.
Previous
Showcase