Video Game Sales - TreeMap Diagram
✓ Published2🌍 Public
MMohammed Banani | MbDev
Last edited May 25, 2022
Created on May 20, 2022
Forked from Visualize Data with a Heat Map| fcc project-3
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 descriptionVideo Game Sales - TreeMap Diagram
:camera: Preview:
<img src="https://projects-preview.s3.eu-west-3.amazonaws.com/United+States+Educational+Attainment+mbdev.webp" />:hammer: Module bundler: Rollupjs
:page_with_curl: Video Game Sales Data
:pushpin: Live Demo
MIT Licensed