Skip to content

chart_pie

Pie chart of Bars slices with palette-cycled colours, percentages, and an adjacent legend. Use donut = true for a hollow centre, or pick chart_bar instead when exact comparisons between slices matter.

AcceptsAnimates
barsno
OptionTypeRequiredDefaultDescription
legend"right" | "bottom" | "top" | "left" | "none"no"right"Legend placement. none hides the legend; any direction pins it to that side of the chart.
donutboolnofalseRender a donut (hollow centre) instead of a filled pie. Implemented by substituting the slice glyph so the centre reads as empty.

Overridable via the [theme] section of your dashboard config.

KeyDescription
palette_seriesPalette cycled per-slice / per-series by chart_pie / chart_line / chart_scatter. TOML takes an array of colours.
ShapeFetchers
barsbasic_bars, basic_read_store, claude_code_usage, claude_subscription, code_comments, code_files, code_largest_files, code_loc, code_todos, codex_subscription, codex_usage, crypto_trending, crypto_watchlist, deal_free_games, deal_games, deal_steam_daily, git_age, git_churn, git_contributors, github_action_history, github_assigned_issues, github_contributors_monthly, github_languages, github_my_prs, github_repo_issues, github_repo_prs, github_repo_stars, github_review_requests, gitlab_my_mrs, gitlab_repo_issues, gitlab_repo_mrs, gitlab_repo_stars, gitlab_review_requests, huggingface_trending, lastfm_charts, lastfm_top_albums, lastfm_top_artists, lastfm_top_tracks, linear_cycle, linear_issues, linear_notifications, lobsters_top, net_interfaces, net_speedtest, reddit_trending, steam_charts, steam_owned_games, steam_recently_played, stock_watchlist, system_monitor_disk, weather, weather_forecast, wikipedia_trending
                                        
                    rust 42.0%        
                             
        go 28.0%          
                         
    ts 17.0%          
                         
        py 13.0%          
                             
                                       
[[widget]]
id = "github_languages"
fetcher = "github_languages"
render = "chart_pie"