Skip to main content
Public

Share visualization

Loading preview…

Week 11: IMDB Top 250 Movies Scatter Plot: Rating vs. Runtime

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Week 11: IMDB Top 250 Movies Scatter Plot: Rating vs. Runtime

1
XXiaojun
Last edited Nov 1, 2025
Created on Nov 1, 2025

A scatter plot displays the IMDB top 250 movies' ratings against their runtimes, with each point colored by its simplified genre. A dropdown filter allows viewing movies from a specific decade. The visualization uses D3 version 7 to project the data, with scales created via `scaleLinear`, a color mapping via `scaleOrdinal` and `schemeTableau10`, and axes rendered through `axisBottom` and `axisLeft`. The code processes movie data from a CSV file, including a custom genre preprocessing step, before rendering circles with hover tooltips that display the film's title, director, and release year.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed