yScale not being offset correctly

I am trying to add scale that is offset by 10 points. The examples is from ‘Cars’ notebook. When I was mixing it with some other code, I could not get it correctly.

Here is the use case reproducing the problem.

The top one works as expected, which I copied from Cars. Bottom one is my code.
What am I missing?

Thanks in advance,
Praveen

You need to close the parenthesis in

translate(${margins.left},${margins.top}

1 Like

Oh man… so embarrassing… :grimacing:
Gracias! :pray: