Hi Ather,
You might want to check out the charts marketplace module: https://marketplace.mendix.com/link/component/105695
Also the json required for a contour graph is listed in here: https://docs.mendix.com/refguide/charts-any-cheat-sheet/
And the docs : https://docs.mendix.com/appstore/widgets/charts/
Hope some of this helps!