Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of A Bar Chart(Platform)

Public visualization

Viewing a saved revision (read-only)

f5b0a9d031ff4097a2470afb2b3b2562

Fork of A Bar Chart(Platform)

0 stars1🌍 Public
RRED98310
Last edited Feb 26, 2021
Created on Feb 26, 2021

This interactive bar chart displays video game sales across different platforms, allowing users to switch between global, EU, JP, NA, and other regional sales metrics via a React dropdown menu. The visualization uses d3.scaleBand and d3.scaleLinear to map platforms and sales values to SVG rectangles, with axes rendered through custom React components and d3 formatting. Data comes from a Kaggle video game sales dataset, loaded asynchronously via d3.csv and processed through React's useState and useEffect hooks.

AI-generated description

A 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