Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie chart

Public visualization

Viewing a saved revision (read-only)

b4fb7531da57475b860cfb5ed587b0d6

Fork of Pie chart

0 stars0🌍 Public
AAISWARYAMARAPATLA1999
Last edited Mar 22, 2023
Created on Mar 22, 2023
Forked from HTML Starter

This example visualizes the top movies and their ratings using a pie chart, with each slice representing a movie and its size proportional to the rating value. The chart renders as an SVG, using D3.js v5's `pie` and `arc` generators to create the segments and a color scale for differentiation. Ratings are loaded from a CSV file via `d3.csv`, and a legend on the right displays each movie's name alongside its corresponding rating value, formatted with `d3.format`.

AI-generated description

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

See also React Starter.