Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Scatter Plot for Video Game Sales

Public visualization

Viewing a saved revision (read-only)

3880240d3f8d4227b1c38e0d64dbe1d9

D3 Scatter Plot for Video Game Sales

0 stars2🌍 Public
RRochelle
Last edited Sep 30, 2021
Created on Sep 15, 2021

This scatter plot visualizes video game sales data from Kaggle, showing global sales figures against release year for each title. The visualization uses D3 v6 with an SVG rendering approach, employing `d3.csv` for data loading, `scaleLinear` for both axes, and `axisLeft`/`axisBottom` for tick generation. Circles are positioned using x/y coordinates derived from the year and sales values, with a fixed radius of 5 pixels, and the chart fills the entire browser window using `window.innerWidth` and `window.innerHeight`.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the (https://gist.github.com/Rochelle-Wu/6cb1e6fd26fc9980374dac3a98bdc435).

The X-axis is year

The Y-axis is the data of global sales

The data comes from https://www.kaggle.com/gregorut/videogamesales