Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Pie Chart to show Runtime of top rated movies on IMDB

Public visualization

Pie Chart to show Runtime of top rated movies on IMDB

0 stars0🌍 Public
HHarshavardhan
Last edited Mar 25, 2023
Created on Mar 24, 2023
Forked from Pie Chart

This visualization presents the runtime of the top ten rated movies on IMDB as a pie chart, with each slice colored by runtime and accompanied by a legend listing the movie title and its duration in minutes. The chart is rendered as SVG using D3 v5, with the `pie`, `arc`, and `scaleOrdinal` functions from D3 computing the slice geometry and categorical color scheme. Data is loaded from a CSV file hosted on GitHub, and hover events log the runtime to the console.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed