Is there a way to bin 2 numeric attributes in a graph in CODAP, on both the X and Y axes? I see I can treat one axis as categorical data and then bin the other axis, but I’d like to be able to bin both and not have a separate category for every number on one axis. Thanks!
Answer: CODAP graphs can only bin one numerical axis. But you can create bins formulaically for a second numeric attribute as shown here. This document randomly generated values for Height and Weight and a slider named interval to control the bin width for a third attribute named Weight_binned. The formula for Weight_binned is
floor(Weight/interval)*interval+" to " +ceil(Weight/interval)*interval
The enclosed screenshot shows the result plot with both numeric attributes binned.