SquirrelDisk uses an interactive sunburst chart to help you visualize and explore your disk usage. The sunburst visualization makes it easy to understand where your storage space is being consumed at a glance.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/adileo/squirreldisk/llms.txt
Use this file to discover all available pages before exploring further.
What is a Sunburst Chart?
A sunburst chart is a multi-level radial visualization that represents hierarchical data. In SquirrelDisk, each ring represents a level in your directory structure:- Center circle: Navigate back to the parent directory
- Inner rings: Top-level folders
- Outer rings: Nested subdirectories (up to 3 levels deep)
Sunburst charts are particularly effective for disk analysis because they allow you to see the entire hierarchy and relative sizes at once, unlike traditional tree views.
D3.js Implementation
SquirrelDisk leverages D3.js for high-performance rendering and smooth animations. The chart is built using D3’s partition layout and arc generators:Interactive Features
Click to Zoom
Click any directory arc to zoom into that folder. The chart smoothly animates to focus on your selection, showing its contents in detail. Click the center circle to navigate back to the parent directory.Hover for Details
Hover over any arc to see detailed information:- Full path from root to the item
- Exact size in GB
- The corresponding item is highlighted in the sidebar
Synchronized Sidebar
The file list sidebar stays in sync with the sunburst chart. When you hover over an item in either view, both are highlighted. Click an item in the sidebar to zoom the chart or open the file in your system’s file explorer.Color Coding
Colors are assigned based on the top-level parent folder and become darker with increasing depth:The color scheme is automatically generated based on the number of top-level folders, ensuring each major section has a distinct color.
Smaller Items Aggregation
To keep the visualization clean and performant, SquirrelDisk automatically groups smaller items. Items that occupy less than 0.5% of the current view are aggregated into a “Smaller Items” arc:- Reduces visual clutter
- Improves rendering performance
- Focuses attention on the largest space consumers
- Still preserves the total space accounting
Arc Visibility Rules
The chart enforces visibility rules to maintain clarity:- Limit depth to 3 levels from the current focus
- Hide the root center spot (reserved for navigation)
- Hide arcs that are too small to render properly
- Dynamically adjust during zoom animations
Smooth Animations
All chart transitions use smooth 750ms animations:Directories have 0.6 opacity while files have 0.4 opacity, providing a subtle visual distinction between them.

