Activity6_Task2
This stacked bar chart shows the distribution of video game sales across ten genres, broken down by platform (PS2, DS, Wii, X360, PS3, PC, and Other). Each bar represents total global sales for a genre, with colored segments indicating platform contributions. The visualization uses d3.tsv to load tab-separated data, d3.scaleOrdinal with d3.schemeCategory10 for colors, and interactive tooltips that appear on mouseover to display segment details. A legend identifies the platform colors, while axes display genres and sales values in millions.