Skip to main content
100%

Interaction Fork of History of Video Games by Genre

✓ Published4🌍 Public
DDaniel Ribaudo
Last edited Nov 24, 2021
Created on Oct 27, 2021

This interactive visualization shows video game sales by genre over time, with a dropdown menu letting viewers switch between global, North American, European, Japanese, and other regional sales data. The chart uses Observable Plot’s `rectY` with `binX` to aggregate yearly sales per genre, summing the selected regional sales column. Built with D3 v6 for data loading and CSV parsing, the view redraws the entire plot on region change rather than updating in place. The dataset comes from the preprocessed Video Game Sales Dataset by Daniel Ribaudo.

AI-generated description

Sales of video games released by genre over time.

An exploration of the Video Game Sales Dataset prepared by Daniel Ribaudo, originally visualized in History of Video Games by Genre.

This is an extension of the forked Viz which includes 2 notable changes:

  1. Rather than count (which would record the total number of games released within a genre), I have instead included a summation of the sales that each genre had during that year.
  2. Rather than only displaying global values, I have added a dropdown menu that allows a user to select which region they would like to view.

Comments:

I very much enjoyed the basic idea of this graph. It helped answer one of the questions associated with this dataset, namely: Which genres have been more or less popular with the passing of time? It provided a very concise comparison between the years for each genre, and allowed users to compare trends between two genres.

One difficulty I had was in searching through the Observable Plot API. Most of it seems to be related to using their custom notebooks browser editor. Mostly, I wanted to use the proper data flow for interaction, but it seemed their interaction based modules were only for the notebook they created. Therefore, I resorted to just redrawing the entire graph, which I understand is inefficient.

Uses Observable Plot with vanilla HTML.

MIT Licensed

Similar vizzes