Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

UX - CIRCULAR BARPLOT

Public visualization

UX - CIRCULAR BARPLOT

0 stars0🌍 Public
AAnissa Belkelfa
Last edited Nov 30, 2022
Created on Nov 30, 2022

A circular barplot visualizes the distribution of music genres across an artist's albums, fetched from the Wasabi API. Each genre corresponds to a colored arc, with its radial length proportional to the number of song occurrences. The SVG chart uses D3 v7’s `scaleBand` for angular positioning and `scaleRadial` for bar length, drawing arcs with `d3.arc`. Hovering highlights a bar and displays a tooltip, implemented via D3 selections and event listeners.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed