game sale analysis - nhom10
This visualization displays the total global video game sales by genre across different years, with each bar colored by genre and a tooltip revealing the specific genre on hover. The data comes from the Video Games Sales dataset sourced from Kaggle. Built with the vega-lite-api, the chart uses a bar mark, encodes Year and Global_Sales on the x- and y-axes, and applies a custom config to adjust font sizes and axis styling. The code loads CSV data via d3.csv and renders the visualization using vega-lite’s view with SVG output.
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.