Visualization of Global Video Games Sales by Year and Genre
This visualization shows global video game sales by year, with bars colored by genre to reveal sales trends across categories over time. It uses the Vega-Lite API with D3’s CSV loader to fetch data from a GitHub-hosted dataset originally sourced from Kaggle. The chart encodes years on the x-axis, global sales on the y-axis, and genre as color, with tooltips displaying genre names. Custom styling via a config object improves label and title readability, while Vega-Lite’s automatic rendering handles the bar marks and scales.
AI-generated descriptionA visualization of year-wise Global Sales of videogames by genre constructed using the vega-lite-api. The Video Games Sales dataset has been used for this visualization. This dataset contains information of video games' sales across various platforms and genres. Dataset obtained from Kaggle.