Pie Base

Edit pageLast modified: 05 August 2024
val value by columnOf(15, 22, 40, 7, 31)
val type by columnOf("A", "B", "C", "A", "D")
val df = dataFrameOf(value, type)

df.plot {
    pie {
        slice(value)
        fillColor(type)
    }
}
Base Pie