Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7

Public visualization

Viewing a saved revision (read-only)

d5daedeea3a84342820c59590873b8ab

Activity 7

0 stars1🌍 Public
Ssuhaibuddinahmed10@gmail.com
Last edited Nov 2, 2024
Created on Oct 30, 2024
Forked from HTML Starter

This visualization displays a pie chart of the top 10 movie directors by number of directed films, with each slice labeled by its count and a legend identifying directors. The chart uses D3.js v6’s `d3.pie` and `d3.arc` to compute and render the SVG paths, while `d3.rollup` aggregates the CSV data from a GitHub Gist. A categorical color scale (`d3.scaleOrdinal`) with `schemeCategory10` colors the slices, and the title and legend are appended as SVG text elements.

AI-generated description