Movie Gross by Rating
A pie chart shows the total gross box office revenue for movies grouped by MPAA rating (G, PG, PG-13, and R) from a Kaggle dataset of US films. The visualization uses D3 v4’s `d3.pie` and `d3.arc` to generate slices, with an ordinal color scale (`d3.scaleOrdinal`) and the `d3.legendColor` API for a circular legend. Data is loaded from a CSV file via `d3.csv`, and the chart renders as SVG with a large right margin reserved for the legend.
AI-generated descriptionPart 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>