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,
)