Week 6: IMDB Top 250 Movies Scatter Plot: Year VS Rating
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 descriptionReact 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")