Task 10 sky
A pie chart displays the distribution of movie genres based on their ratings above 8.5, using D3.js v6. The chart visualizes six genres—Documentary, Drama, Comedy, Romance, Animation, and Action—each represented as a slice with a corresponding legend. The code utilizes D3's `arc`, `pie`, and `selectAll` APIs to generate the SVG circles, with `scaleOrdinal` providing color assignments and text labels placed at each slice's centroid. The data, embedded in the script, shows proportional values for each genre's high-rating share.