Skip to main content
Public

Share visualization

Loading preview…

ICE -7 Pie chart of the songs

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

ICE -7 Pie chart of the songs

0
GGogineni44
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from Fork of Pie Chart

This pie chart visualizes the durations of individual songs from a CSV dataset hosted on GitHub. D3 v5’s `pie` and `arc` generators create the segments, while a `scaleOrdinal` color scale assigns fills. Each slice is labeled with its numeric duration, and a legend pairs song names with their corresponding values. The SVG rendering approach positions the chart and legend explicitly via `translate` transformations.

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