Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BarChartGenre

Public visualization

Viewing a saved revision (read-only)

1af70aa669e44cfc8569e99d7feb40f1

BarChartGenre

0 stars0🌍 Public
RRED98310
Last edited Feb 28, 2021
Created on Feb 28, 2021

This interactive bar chart visualizes the sales of video game genres across different global regions, using a dropdown menu to switch between sales metrics such as Global, EU, JP, NA, and Other Sales. Built with React and D3 v5, it renders SVG rectangles via the `Marks` component, with axes generated by custom `AxisBottom` and `AxisLeft` components. The data is loaded from a CSV file using D3’s `csv` function, and the chart scales the y-axis dynamically with `scaleLinear` and `format`.

AI-generated description

A 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