Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity7_Question1

Public visualization

Viewing a saved revision (read-only)

d299e5693ce2456f92d229e84187f334

Activity7_Question1

0 stars0🌍 Public
Ggroup118sai@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024
Forked from HTML Starter

This example visualizes the distribution of Netflix titles by type, showing the count and percentage of movies versus TV shows in a pie chart. The chart renders as an SVG with colored slices, percentage labels positioned at each arc’s centroid, and a legend beside the chart. Using D3 v6, the code loads data from a CSV file via `d3.csv`, aggregates counts with `d3.rollups`, and generates arcs with `d3.pie` and `d3.arc`. Color is assigned using `d3.scaleOrdinal` with `d3.schemeCategory10`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.