🌍 Public
Viewing a saved revision (read-only)
b9d36be811ca471090354be1b553c4b0
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