I have a customer who has made a custom shape in the Graph Builder, but the shape doesn't seem to be updating correctly when axes or other aspects of the graph are changed.
Here's an example of what the graph looks like when initially made. Note all the data points are barely outside the largest circle:

When the x-axis is changed, the circles move, but incorrectly, as in this example:

I thought it was perhaps just a matter of needing to change the script to have the graphics shape redraw, but that doesn't seem to be the fix. I've attached a sample data file with two scripts (original and my attempt at a fix).
Can anyone either help with a fix for this or suggest alternatives?
Thanks in advance,
Jed