D3 Scatter Plot for Video Game Sales
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 descriptionA 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