Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

03_region_bar

Public visualization

Viewing a saved revision (read-only)

993aa0367a204ab087443a8d75061c25

03_region_bar

0 stars1🌍 Public
Sspideyg1025@gmail.com
Last edited Oct 30, 2026
Created on Oct 30, 2026
Forked from 02_release_line

This treemap visualizes global video game sales from 1980–2015, breaking down regional distribution across North America, Europe, Japan, and Other territories. The code aggregates sales columns from the CSV data and feeds them into `d3.treemap` and `d3.hierarchy` to calculate rectangle sizes, which scale proportionally to total sales. Each region is rendered as an SVG group with hover interactions and a tooltip showing exact sales figures and percentage share. Colors are fixed per region, with white strokes providing visual separation between rectangles.

AI-generated description