Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Pie Chart Artistes

Public visualization

Fork of Fork of Pie Chart Artistes

0 stars0🌍 Public
AAnissa Belkelfa
Last edited Nov 30, 2022
Created on Nov 30, 2022
Forked from Pie Chart Artistes

This donut chart shows the distribution of music genres for a specific artist, displaying each genre’s percentage on hover via a tooltip. The visualization uses `d3.pie` and `d3.arc` to generate the slices, with `d3.scaleOrdinal` and a custom color range for genre encoding. It applies `d3.select` for mouse interaction and fetches additional genre data from the Wasabi API. The chart is rendered as SVG, with labels positioned using `labelArc.centroid`, and data is loaded from a CSV file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed