aabosham/filament-spark-pie is a Laravel package for this is my package filament-spark-pie.
It currently has 8 GitHub stars and 13.659 downloads on Packagist (latest version v2.0.0).
Install it with composer require aabosham/filament-spark-pie.
Discover more Laravel packages by aabosham
or browse all Laravel packages to compare alternatives.
Last updated
Pie chart for laravel filament

You can install the package via composer:
For filament v3
composer require aabosham/filament-spark-pie:"^2.0"
For filament v2
composer require aabosham/filament-spark-pie:"^0.0.4"
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-spark-pie-views"
use AAbosham\FilamentSparkPie\Tables\Columns\SparkPieColumn;
use AAbosham\FilamentSparkPie\Tables\Columns\SparkPieColumn;
SparkPieColumn::make('rate')
->size(70) // height
->color('green') // green , #598989
->suffix('%') // or prefix
use AAbosham\FilamentSparkPie\Infolists\Components\SparkPieEntry;
SparkPieEntry::make('rate')
->size(70) // height
->color('green') // green , #598989
->suffix('%') // or prefix

The MIT License (MIT). Please see License File for more information.