Skip to main content
100%

Content Distribution by Maturity Rating

✓ Published1🌍 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
MIT Licensed

Similar vizzes