Skip to main content
100%

Game sale with Brushing

✓ Published1🌍 Public
RRochelle
Last edited Nov 5, 2021
Created on Nov 4, 2021

This scatter plot visualizes video game sales data from Kaggle, plotting global sales against year of release. Users can brush a rectangular region over the plot to select and highlight specific data points in pink, while unselected points dim to gray. Upon brush completion, a table appears listing the game name, year, and global sales for all highlighted entries. The visualization leverages d3.brush for interaction, d3.csv for data loading, and standard d3.scaleLinear, d3.axisBottom, and d3.axisLeft for the axes and scales.

AI-generated description

A 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

MIT Licensed

Similar vizzes