IMDB Movies (Top 1000) dataset
This example loads the IMDB Movies (Top 1000) dataset from a CSV file and displays its raw contents as a formatted JSON preview. It demonstrates asynchronous data fetching with the Fetch API and parsing with `d3.csvParse`, converting string values into proper numeric types. The visualization uses D3 v7's `select` and data joins to render the state, first showing a loading status, then an error message if fetching fails, and finally the parsed movie records. The code follows a minimal state management pattern where a `setState` function triggers re-rendering of the container.
AI-generated descriptionIMDB Movies Dataset
This dataset contains information about movies including
their rank, title, genre, directors, actors, runtime,
ratings, votes, revenue, and metascores.
It can be used to analyze movie trends, genre popularity,
audience ratings, and financial performance.
- Source: Kaggle – IMDB Movie Dataset
Attribute Descriptions (VAD Framework)
| Attribute | Type | Description |
|---|---|---|
rank |
Quantitative | Position of the movie in the dataset (ranked list) |
title |
Categorical | Title of the movie |
genre |
Categorical | Genres associated with the movie (comma-separated) |
director |
Categorical | Director(s) of the movie |
actors |
Categorical | Lead actors/actresses in the movie |
year |
Ordered (Time) | Year of release |
rating |
Quantitative | IMDB user rating (scale of 0–10) |
votes |
Quantitative | Number of user votes on IMDB |
revenue (Millions) |
Quantitative | Revenue generated by the movie in millions of USD (if available) |
metascore |
Quantitative | Metascore rating from critics (0–100, if available) |