Game sale >5 Million with Brushing
A D3 scatter plot displays video game sales over time, plotting each game's release year against its global sales figures. Users drag a rectangular brush across the chart to highlight selected points in pink while dimming others, and a hidden table populates with the game name, year, and sales data for brushed points. The visualization uses d3.brush for selection, d3.axisBottom and axisLeft for scales, and loads CSV data from a GitHub-hosted Kaggle dataset.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the (https://gist.github.com/Rochelle-Wu/4e7515233d56de364f848f91ae25101d).
The X-axis is year
The Y-axis is the data of global sales
Thanks for Sitanshu Rupani's work, which bring me inspiration
The data comes from https://www.kaggle.com/gregorut/videogamesales