Skip to main content
100%

Fork of Video Game Sales - TreeMap Diagram

✓ Published0🌍 Public
Aantoniojl-kemaro
Last edited Nov 24, 2022
Created on Nov 24, 2022

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 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