Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatter plot

Public visualization

Viewing a saved revision (read-only)

5a63ece1e18447bd8f22d1b469a0cdfd

Reusable Scatter plot

0 stars0🌍 Public
BBhavyaMammai
Last edited Jul 13, 2023
Created on Jul 9, 2023
Forked from Hello VizHub

This scatter plot visualizes movie performance metrics, including budget, worldwide earnings, and overseas revenue, with each point colored by box office verdict such as Blockbuster or Hit. The visualization cycles through different financial columns on the x-axis using `setInterval`, dynamically updating the scale and axes via the reusable `scatterPlot` function built with D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`. Data is loaded from a CSV using `d3.csv`, and circles are rendered in SVG with animation, while a legend shows verdict categories and their corresponding colors.

AI-generated description