Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 2

Public visualization

Assignment 2

0 stars0🌍 Public
Yyellahemalatha@gmail.com
Last edited Apr 12, 2024
Created on Apr 12, 2024

This visualization presents a pie chart of the top 10 movies and their IMDb ratings, sourced from a CSV file. The chart uses distinct colors for each segment and includes a legend that pairs movie titles with their ratings. Built with D3 v5, the code uses `d3.csv`, `d3.pie`, `d3.arc`, and `d3.scaleOrdinal` to generate the SVG, with labels and a legend constructed from SVG `path` and `text` elements.

AI-generated description

This is a Pie chart

Comments

Sign in to join the discussion.

MIT Licensed