Rohithice6 Q2
✓ Published0🌍 Public
A scatter plot shows the relationship between a film’s budget (ranging from $1M to $3.5M) and its revenue (between $5M and $12M), with each circle representing a movie. The visualization uses D3.js v7 to load CSV data from a remote GitHub gist and render an SVG chart with linear scales for both axes. The code applies `d3.csv` for data loading, `d3.scaleLinear` for coordinate mapping, and `d3.axisBottom`/`d3.axisLeft` to draw labeled axes. The plot encodes individual data points as steelblue circles, with fixed margins and an 800×600 pixel container, but no trend line or interactive features are included.
AI-generated descriptionMIT Licensed