Skip to main content
100%

Improved D3 Scatter Plot of Top 5000 TMDB Movies showing Runtime(X) vs. Budget(Y)

✓ Published0🌍 Public
TT-Reiser
Last edited Sep 28, 2021
Created on Sep 28, 2021

This D3 v6 scatter plot visualizes the top 5000 TMDB movies, comparing runtime on the x-axis against budget on the y-axis using SVG circles. It uses `d3.scaleLinear` for both axes and `d3.scaleSequential` with the PuRd interpolator to color the semi-transparent points, revealing density where overlapping data occurs. The axes are generated with `axisLeft` and `axisBottom`, with margins adjusted to display full y-axis values. Data is loaded as CSV and parsed with numeric runtime and budget values.

AI-generated description

An improved implementation of a D3 scatter plot. Shows the Top 5000 TMDB Movies.

This revision pushed the margins out to allow for the full y-axis values to be viewed, and also labeled the axes better. The main addition in this improvment however, is the addition of more transparent scatter points that have also been colored. This was a suggestion made by someone in the class a while ago, and allows the reader to see overlapping dots and the density of where many movies runtimes are layed out. This provides more information to the reader and is more pleasing to look at. I originally looked to reduce the circle radius, to allow the middle to look less congested, however the smaller dots are harder to read.

MIT Licensed

Similar vizzes