Skip to main content
100%

Scatter Plot - PS4 Game Sales by Year of Development

✓ Published0🌍 Public
RRaul Gamez
Last edited Sep 23, 2021
Created on Sep 13, 2021

This scatter plot shows global PS4 game sales in millions of dollars plotted against the year of game development, with each circle representing a game. The code uses D3 v6 to load a CSV dataset from a GitHub gist, filters for global sales records, and renders the points as semi-transparent SVG circles. Axes are generated using `d3.axisLeft` and `d3.axisBottom`, with linear scales (`d3.scaleLinear`) mapping years and sales values to screen coordinates. The chart fills the browser window and includes labeled axes for year and sales.

AI-generated description

A scatter plot using D3 displaying video game sales data from the PS4 Game Sales Dataset.

The year of development of the games is displayed on the x-axis and their global sales in millions of dollars on the y-axis.

MIT Licensed

Similar vizzes