Hi… Was using Plot to do some analysis of PPP loans and I wanted to group by industry sector, which I was able to figure out.
Displaying the count for each sector using Plot.text on the fly proved to be a bit more challenging. Was wondering if there was a more efficient solution than what I arrived at here.
Essentially I mapped the loans by name of the sector in another cell
Each grouped output channel (the keys of the object passed as the first argument to the group transform) has an associated reducer which controls how the summary value for each group is derived.
groupX() and groupY() makes “count” and all the others available to access for free?
The “count” here refers to a reducer or aggregation method. It’s a way of deriving a single value, such as a count, from the set of values that correspond to each group (or bin). More details here: