Skip to main content
100%

Video Game Sales - TreeMap Diagram

✓ Published2🌍 Public
MMohammed Banani | MbDev
Last edited May 25, 2022
Created on May 20, 2022

A treemap visualization displays the top 100 most-sold video games grouped by platform, with each rectangular tile sized by sales value and colored by category. The interactive chart uses React for component structure and D3 v7’s `treemap` layout with the `treemapResquarify` tiling algorithm to partition the data hierarchy. A hover tooltip shows the game name, category, and sales figures, while a legend maps colors to platform categories. The visualization loads JSON data from the freeCodeCamp dataset and renders as SVG.

AI-generated description

Video Game Sales - TreeMap Diagram


:camera: Preview:

<img src="https://projects-preview.s3.eu-west-3.amazonaws.com/United+States+Educational+Attainment+mbdev.webp" />

:rocket: Stack: D3, React

:hammer: Module bundler: Rollupjs

:page_with_curl: Video Game Sales Data

Movie Sales Data

Kickstarter Pledges Data

:pushpin: Live Demo

MIT Licensed

Similar vizzes