Dual y-axes in Plot ?

How do you make dual y-axes in Plot ?

It’s not supported out of the box, but here are a few links showing possibilities:

2 Likes

I find a useful design rule-of-thumb to be whenever contemplating a dual-axis chart, ask yourself whether two juxtaposed charts, or a connected scatterplot might be more effective. I’m not experienced with Plot, but it would appear both are possible.

Worth re-emphasising Lisa Charlotte Muth’s article on alternatives to dual-axis plots (also linked to in the Fil’s second post above):

2 Likes

Now easier with the axis mark (though it still requires some manual transformation):

It is worth mentionning this recent official (mbostock) notebook: