Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

q2

Public visualization

Viewing a saved revision (read-only)

1699171c343f489fb5eec63a6bad6c30

q2

0 stars2🌍 Public
SSaba Siddiqi
Last edited Oct 31, 2026
Created on Oct 31, 2026
Forked from q1

This heatmap displays average movie revenue by genre and year, with two interactive buttons that reorder the genre rows alphabetically or by descending row mean. The visualization uses d3.rollups to aggregate the data and d3.scaleSequential with an interpolateRgb color scale to map revenue values. Rendered as SVG, the chart includes axes generated with d3.axisLeft and d3.axisBottom, plus a legend created with a linearGradient. The color scale domain spans the minimum and maximum average revenue values from the dataset.

AI-generated description