I tried to add a temporary column in Graph Builder but I ended up adding a new column in the data table for each quartile. Then add them together to the Y axis and change the plotting element to Line.
I am using Big Class for my example. Here is the formula for the first quartile:
Col Quantile( :weight, 0.25, :age )
Here is the result: