🌍 Public
Viewing a saved revision (read-only)
05431e4c6248422eb543d8b093d43344
ICE-6
This example shows a bar chart of video game sales, comparing the total sales across different game platforms. A dropdown menu lets the viewer switch the y-axis metric among customer-related attributes like name, segment, country, city, or state. Built with React and rendered as SVG, the chart uses d3.scaleBand and d3.scaleLinear for axes, with custom AxisBottom, AxisLeft, and Marks components. Data is loaded asynchronously via d3.csv from a Kaggle-hosted dataset of top game sales.
AI-generated descriptionA bar chart shows the sales of Top 500 different games in different regions on different game platforms. The data comes from https://www.kaggle.com/gregorut/videogamesales