Skip to main content
100%

Activity 7.1 - Pie Chart

✓ Published0🌍 Public
Ggsdontineni518@gmail.com
Last edited Nov 7, 2024
Created on Nov 5, 2024
Forked from Hello VizHub

This pie chart visualizes the distribution of movie genres, specifically highlighting Action, Adventure, Drama, Romance, and Comedy, based on a CSV file loaded from a GitHub repository. Each slice shows the genre name and its count, with a legend providing a clear color key. The visualization uses D3 v6, employing `d3.pie()` and `d3.arc()` to construct the chart, while `d3.scaleOrdinal()` assigns a categorical color scheme. The data is fetched via `d3.csv` and rendered directly into an SVG element.

AI-generated description

Pie chart of distribution of movie genres

MIT Licensed

Similar vizzes