Black Lives Matter. Please consider donating to Black Girls Code today.

Additional aggregation functions

It looks like there is a pretty fixed list of available aggregation functions.

Is it possible to pass in a custom function for aggregation? If not, would you consider adding a couple of additional functions?

I believe that functions for range (i.e. max - min) and change (i.e. last - first) could be very useful for a variety of applications and would build off of functions that you already provide.

No. Plotly’s API is strictly JSON, no functions are accepted.


Great, thank you! I will try to put together a PR for additional functions.

Here’s a github issue for further coordination:

Thanks in advance for your consideration.