Skip to main content
100%

circular barplot

✓ Published1🌍 Public
PPLD3508A
Last edited Nov 29, 2022
Created on Nov 29, 2022
Forked from Fork of Yeesir tp1

This circular barplot visualizes the frequency of different music genres from a JSON dataset. Each genre is represented as a colored arc segment, with the radial length of each bar proportional to its quantity, and labels are rotated around the perimeter. Built with D3 v7, the visualization uses `d3.scaleBand` for angular positioning, `d3.scaleRadial` for bar lengths, and D3's `arc` function to draw the curved bars. The SVG output centers the chart with a donut-like hole and applies conditional text rotation for label readability.

AI-generated description
MIT Licensed

Similar vizzes