Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of treemap-Video Game Sales

Public visualization

Fork of treemap-Video Game Sales

0 stars0🌍 Public
Ddr-acc
Last edited Feb 7, 2023
Created on Feb 7, 2023

This example visualizes video game sales data using a treemap, grouping the top 100 most-sold games by their platform (e.g., Wii, NES, DS). It displays the relative sales value of each title by the area of its corresponding rectangle. The visualization is built with D3.js v4, using `d3.treemap` and `d3.hierarchy` to compute the layout, and renders tiles as SVG rectangles with color-coded categories. Hovering over a tile triggers a tooltip, and the dataset is loaded from an external JSON URL.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed