Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of genre album anissa

Public visualization

Fork of genre album anissa

0 stars0🌍 Public
AAnissa Belkelfa
Last edited Nov 29, 2022
Created on Nov 29, 2022
Forked from genre album anissa

This radial bar chart displays the genre distribution of songs across an artist’s albums, with each genre represented by a colored arc whose length corresponds to song count. The visualization fetches artist data from the Wasabi API, aggregates genres by iterating through album songs, and renders the result using D3 v4’s `d3.scaleBand`, `d3.scaleRadial`, and `d3.arc` APIs. Labels are positioned around the circle with rotated text, and the SVG output is generated within an HTML page.

AI-generated description

A demonstration of how to start using D3 version 6.

Comments

Sign in to join the discussion.

MIT Licensed