Skip to main content
100%

Week 6: IMDB Top 250 Movies Scatter Plot: Year VS Rating

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

This scatter plot displays the top 250 IMDB movies, plotting release year on the x-axis against rating on the y-axis. Each point is colored by genre, using a d3.scaleOrdinal with the schemeCategory10 palette, and the top six genres are shown in a legend with others grouped as "Other." Built with React and D3 v7, the visualization loads data from a CSV file and renders circles with fixed radius and 70% opacity, using d3.scaleLinear for both axes and d3.axisBottom and d3.axisLeft for tick marks.

AI-generated description

React D3 Scatterplot Visualization

This project creates a scatterplot visualization using React and D3. It displays movies data with year on the x-axis and rating on the y-axis, with each point colored by genre.

Features

  • Scatterplot with axes
  • Color-coded genres (Top 6 genres + Other)
  • Legend showing genre colors
  • Responsive design

Data

The visualization uses data from data.csv which contains information about popular movies including:

  • Year of release
  • Movie rating
  • Genre (processed to show only top 6 most frequent genres, others grouped as "Other")
MIT Licensed

Similar vizzes