Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork 2

Public visualization

Fork 2

0 stars0🌍 Public
SSai Vamshi B
Last edited Mar 9, 2026
Created on Mar 9, 2026

This scatter plot shows the relationship between movie ratings and revenue, with points positioned by rating on the x-axis and revenue in millions on the y-axis. The visualization uses d3.csv to load the movie_scatter.csv dataset and d3.scaleLinear for both axes, rendering the points as SVG circles with a coral fill and partial opacity. Axis generation relies on d3.axisBottom and d3.axisLeft, while the chart includes a title and axis labels appended directly to the SVG element. The code explicitly clears the previous chart content before drawing, supporting redrawing the same chart in place.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed