🌍 Public
Viewing a saved revision (read-only)
af0962588aa34c1781fba4a43914cf71
Activity 9 q1
This example visualizes IMDb movie ratings by genre as a pie chart. The chart displays the distribution of movies rated above 8.5, with each slice labeled by its corresponding genre and a legend identifying the color mapping. The visualization uses D3 v7’s `d3.pie` and `d3.arc` functions to generate the chart, with data loaded from a CSV file using `d3.csv`. A legend is constructed manually using SVG rectangles and text elements.
AI-generated description