If Kcalc can have features such as plotting functions like Desmos then it could be awesome. Please try to work out on it. Even the Windows Calculator has it. You can look at their source code if you want.
We have KAlgebra and KmPlot that can do graphs.