🌍 Public
Viewing a saved revision (read-only)
aa61c6b0b04a450f9c45684d16cf2c46
Fork of A Bar Chart
This fork of a bar chart visualizes the sales of video game genres across different regions, sourced from a Kaggle dataset. It displays the total sales per genre with a dropdown menu to switch between global, EU, JP, NA, and other regional sales figures. Built with React and D3 v5, the SVG rendering uses scaleBand and scaleLinear for axes, while axis components construct ticks with formatted labels via d3.format. Tooltips on each bar provide precise sales values.
AI-generated descriptionA bar chart shows the sales of Top 500 different genres of games in different regions. The data comes from https://www.kaggle.com/gregorut/videogamesales