plot_pie
The plot_pie method creates pie charts using data from Deephaven tables.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| series_name | str | The name (as a String) you want to use to identify the series on the plot itself. |
| t | Union[Table, SelectableDataSet] | The table (or other selectable data set) that holds the data to be plotted. |
| category | Union[str, list[str], list[int], list[float]] | The name of the column containing category values. |
| y | Union[str, list[int], list[float], list[DateTime]] | The name of the column containing discrete values. |
Returns
A pie chart.
Examples
The following example plots data from a Deephaven table.