Skip to main content
100%

Movie Gross by Rating

✓ Published0🌍 Public
Aadamfknapp
Last edited Oct 24, 2017
Created on Oct 24, 2017

A donut chart displays total gross box office revenue for 4,000+ U.S. movies, segmented by MPAA rating (G, PG, PG-13, R) from a Kaggle IMDB dataset. The visualization uses D3.js v4’s `d3.pie()` and `d3.arc()` to compute and render SVG arc paths, with a categorical `d3.scaleOrdinal` color scale mapping ratings to `d3.schemeCategory10`. A legend, generated via the d3-legend library’s `d3.legendColor`, identifies each rating. The chart is sized to 960×500 pixels, with a right margin reserving space for the legend.

AI-generated description

Part of the video course: D3.js in Motion.

This data was scrapped from IMDB and compiled by Kaggle.com . The data is availible at https://www.kaggle.com/deepmatrix/imdb-5000-movie-dataset/data

This dataset shows information on Movies from the United States

forked from <a href='http://bl.ocks.org/curran/'>curran</a>'s block: <a href='http://bl.ocks.org/curran/74005576875677d78d73687e46fae030'>Pie Chart</a>

forked from <a href='http://bl.ocks.org/adamfknapp/'>adamfknapp</a>'s block: <a href='http://bl.ocks.org/adamfknapp/bdddee55814d2d528f0bf0fc0f33b2b4'>gross by rating</a>

mit Licensed

Similar vizzes