Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Video Games Sales by Platform

Public visualization

Viewing a saved revision (read-only)

86b37694784243f28c436ea2386e9238

Video Games Sales by Platform

0 stars0🌍 Public
PPurnachandraa9999
Last edited Apr 3, 2023
Created on Apr 3, 2023

This visualization shows total global video game sales for each platform using a bar chart, with platforms sorted in descending order of sales. It loads a CSV dataset containing video game sales figures and aggregates the data by platform using `d3.rollup`. The chart renders with SVG, using `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, while `d3.axisBottom` and `d3.axisLeft` generate the axes. Bars are drawn as SVG `rect` elements with a steelblue fill, and the x-axis labels are rotated 45 degrees for readability.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.