Treemap of video game sales example
✓ Published0🌍 Public
This treemap visualizes the top 100 most-sold video games, grouped by platform. The code uses d3.treemap to compute the layout and renders it as SVG rectangles with categorical color scales. Hovering over a tile displays a tooltip with the game’s name, category, and sales value. The dataset is loaded from a JSON file, and the example supports switching between video game, movie, and kickstarter datasets via URL parameters.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed