Skip to content

shadcn.io is an independent project built on shadcn/ui

Sunburst Chart with Custom Hint

No labels on the rings, and a hint below naming the hovered segment's cost and share. This is the Svelte version, drawn with TanStack Charts.

Charting library: TanStack Charts

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
Use email insteadNo credit card

Usage

<script lang="ts">
import ChartSunburstCustomHint from "@/components/charts/chart-sunburst-custom-hint.svelte";
</script>
<ChartSunburstCustomHint />