Skip to main content
100%

ICE 7 - Question 1

✓ Published0🌍 Public
KKrishna.
Last edited Apr 2, 2025
Created on Apr 2, 2025

This interactive scatter plot visualizes the relationship between movie budgets and box office revenues, with points colored by genre. The visualization is built with D3.js v6 and uses a reusable scatterPlot function with configurable margins, scales, and labels. It employs d3.scaleLinear for axes, d3.scaleOrdinal with d3.schemeCategory10 for genre colors, and d3.axisBottom/axisLeft for ticks. Hovering over a circle triggers a tooltip that reveals the movie title, genre, budget, and revenue values.

AI-generated description
MIT Licensed

Similar vizzes