Fork of Video Game Sales - TreeMap Diagram
✓ Published0🌍 Public
This interactive tree map visualizes the top 100 best-selling video games, grouped by platform, using a hierarchical treemap layout with `d3.treemap` and the `treemapResquarify` tiling algorithm. Each rectangle represents a game, colored by category, with labels split across multiple lines. The visualization is built with React and D3 v7, rendering SVG elements that respond to mouse hover events to display a tooltip showing the game’s name, category, and sales value. The color legend categorizes platforms, and data is loaded from the freeCodeCamp video game sales JSON dataset.
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