Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Content Distribution by Maturity Rating

Public visualization

Content Distribution by Maturity Rating

0 stars1🌍 Public
DDaniel Z
Last edited Mar 28, 2026
Created on Mar 27, 2026

This example visualizes the distribution of Netflix content by maturity rating, ranking the eight most frequent ratings from a CSV dataset. It uses ECharts to render a pie chart, with each slice representing a rating and its share of titles. The code loads `netflix_titles.csv` via `d3.csv`, aggregates the counts in a plain JavaScript object, sorts the ratings descending, and configures the chart with a tooltip showing the title count and percentage. The visualization is initialized with the `'dark'` theme, and the pie series is set directly through ECharts’ option object.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed