🌍 Public
Viewing a saved revision (read-only)
1699171c343f489fb5eec63a6bad6c30
q2
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