Skip to main content
100%

circular barplot reunion label et bande

✓ Published0🌍 Public
PPLD3508A
Last edited Nov 30, 2022
Created on Nov 30, 2022

This circular barplot displays the distribution of musical genres across an artist’s albums and songs, with each genre represented as a radial bar whose length encodes its frequency. The example starts with a full dataset of genres, then updates after five seconds to show only two selected genres, demonstrating dynamic data filtering. Built with D3 v7, the chart uses `d3.scaleBand` for angular positioning, `d3.scaleRadial` for bar lengths, and `d3.arc` to draw the circular segments. Genre labels are rotated and positioned around the circle using `transform` attributes, with data fetched from the Wasabi API.

AI-generated description
MIT Licensed

Similar vizzes