Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6 Task4 Q 1

Public visualization

Viewing a saved revision (read-only)

0f85f36d7cc14ba49972b09f313fc8fa

Activity6 Task4 Q 1

0 stars0🌍 Public
Kkoushikkumarreddykoorapati@my.unt.edu
Last edited Apr 6, 2025
Created on Apr 6, 2025

This scatter plot shows the relationship between movie production budgets and box office revenues for 51 films, with each point colored by genre (Action, Animation, Sci-Fi, etc.). Hovering over a point enlarges the circle and displays a tooltip with the movie title, release year, genre, budget, and revenue. The visualization uses D3.js v7 with `d3.scaleLinear` for both axes, `d3.scaleOrdinal` with `d3.schemeCategory10` for genre colors, and `d3.csv` to load the dataset. Mouse events trigger smooth transitions and tooltip positioning.

AI-generated description