Generating compelling data visualizations shouldn’t be a war story. With Panoptez, you can quickly create charts and graphs without a lot of ceremony. Read below to learn about what we support and some examples.

We’ll use the idea of tracking meeting length as a common example across plots. In the real world you would collect this information over time. However, for these examples we’ll simply generate random vectors that represent this data.

1 2 3 4 5 |
!pez meeting_size = 5 + 10*runif(50) -> int !pez meeting_size@index = today() - seq(0,49) !pez meeting_length = 10 + 2*meeting_size + 10 *rnorm(50) -> int !pez meeting_length@index = meeting_size@index |

### Time series plots

Most data coming into Slack is arguably time series in nature since they represent events. Whether tracking meeting lengths or more business-related activities like the number of sales inquiries, the size of your backlog, or the response time between support requests and responses, the data are typically time-aware. The !plot command draws multiple time series in a single image and posts it to your Slack channel.

1 |
!plot meeting_length meeting_size |

Simple transformations are allowed in the command. If you wanted to see normalized values, you could write a function and apply that to each time series.

1 2 |
!pez zscore = fn x: (x - mean(x))/sd(x) !plot zscore(meeting_length) zscore(meeting_size) |

### Bar charts

Instead of a line chart, a bar chart can be used for time series data. Like line charts, multiple series can be displayed in the same bar chart.

1 |
!bar meeting_length meeting_size |

1 |
!bar meeting_length `groupby` day_of_week(meeting_length@index) |

-->

### XY plots

Instead of plotting variables against time, suppose you wanted to see the relationship between two variables. XY plots can be used to show this relationship.

1 |
!xyplot meeting_length ~ meeting_size |

### Histograms

When you want to see the distribution of a particular variable, a histogram can be insightful. Suppose we wanted to know whether meeting lengths followed a normal distribution. We can plot the series to visually check.

1 |
!hist meeting_length |

### Box and whisker plots

When more detail about the outliers of different series is needed, box and whisker plots can be helpful These show the bounds of the main portion of the distribution with surrounding outlier indicators. Simply list each series after the !whisker, and Panoptez will do the rest.

1 |
!whisker meeting_length meeting_size |

### Gauges

Gauges are a fun way to show the value of a point according to some scale. Here we show the average meeting length. Gauges are particularly useful when they include a target value, which can indicate how close or far away you are from a goal.

1 |
!gauge mean(meeting_length) 60 |