I have experience with Kotobee Author and I can tell you that it is what you're looking for. Kitaboo as well I think but I haven't used it much. Only Kotobee. the thing is Kotobee now offers widgets (they call it mini-apps) and it gets the job done for many of the features I needed without needing to code anything. So I definitely recommend checking it out.
One possible solution is to use Adobe InDesign. This offer you the possibility to visually create ebooks, (with forms and so on). But you can't edit already created ebooks. Also this product can cost you 21 USD/mo. Of course you have trial, probably student license.
P.S. No affiliate with Adobe
Grapher.app has been installed by default with all versions of Mac OS since 10.4 and does what you are asking for and much more (like 3D graphs). You should find it in the Applications/Utilities folder.
Edit: While linear-linear, log-log and linear X - log Y are easy, I'm not sure how to do log X - linear Y with Grapher. I'll report back when I learn more. ...