a scatterplot
✓ Published0🌍 Public
This scatterplot displays the top 30 best-selling video games, plotting each game’s name along the y-axis against its global sales on the x-axis using circles. The visualization uses d3.csv to load local sales data, then employs d3.scalePoint for the categorical game names and d3.scaleLinear for sales magnitudes, with d3.axisLeft and d3.axisBottom rendering the axes. The SVG is generated through D3 v6 selections, incorporating margins, tick marks, and a formatted sales label, with the data sourced from Kaggle’s video game sales dataset.
AI-generated descriptionThe data comes from https://www.kaggle.com/gregorut/videogamesales
MIT Licensed