Skip to main content
100%

Week 5: IMDB Top 250 Movies Histogram: Movie Runtime Distribution

✓ Published1🌍 Public
XXiaojun
Last edited Sep 29, 2025
Created on Sep 24, 2025

This histogram visualizes the distribution of runtimes for IMDB's Top 250 movies, using 20-minute bins to show the frequency of films across different durations. The visualization is built with React and D3 v7, employing `select`, `scaleLinear`, `extent`, `max`, and `bin` from the D3 API to bin the data and map values to screen coordinates. It plots a green bar chart with labeled x-axis (run time in minutes) and y-axis (frequency), with axes rendered via `axisBottom` and `axisLeft`. The dataset, sourced from Kaggle's IMDB Top 250 Movies list, is parsed from CSV using a custom runtime parser to convert time strings to numeric minutes.

AI-generated description

Dataset: IMDB Top 250 Movies Dataset

Source URL: IMDB Top 250 Movies Dataset

Original Source URL:
IMDB List of Top 250 Movies

Description

IMDB (Internet Movie Database) is one of the largest online databases for movies and television shows, providing comprehensive information about movies, including ratings and reviews from its vast user base. IMDB ratings are widely used as a benchmark for the popularity and success of movies.

This dataset contains the Top 250 rated movies on IMDB as of 2021, offering a snapshot of the most popular and highly rated films. It includes details such as ranking, title, year of release, rating, genres, runtime, certification, budget, box office, casts, directors, writers, and taglines.

By analyzing this dataset, one can explore trends in cinema such as rating distributions, financial performance, dominant genres, and the influence of directors and actors on a movie's success.

Attribute Types

  • rank: Quantitative (ordered)
  • name: Categorical
  • year: Ordinal
  • rating: Quantitative
  • genre: Categorical
  • certificate: Categorical
  • run_time: Quantitative (time duration)
  • tagline: Categorical
  • casts: Categorical
  • directors: Categorical
  • writers: Categorical
MIT Licensed

Similar vizzes