Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

BACKUP - Donut Chart - Version 6

Public visualization

Viewing a saved revision (read-only)

f92776fc445b468bbc79a59089ce31fa

BACKUP - Donut Chart - Version 6

0 stars0🌍 Public
MMaeva B
Last edited Nov 16, 2022
Created on Nov 16, 2022

This donut chart shows the distribution of song counts by language, displaying the nine most common languages as individual slices and grouping all remaining languages into a single “Others” segment. Clicking the “Others” slice replaces the main view with a zoomed-in pie chart breaking down those secondary languages individually. Built with D3.js v6, the visualization uses `d3.pie()` for arc generation, `d3.arc()` for the donut shape, and a `d3.scaleOrdinal()` with the Tableau10 color scheme. Data is loaded via `d3.json()` from a local file, and hover interactions trigger a custom tooltip div.

AI-generated description

Test migration v6