Made a function (accepts risk, productivity and returns graphs incrementing gradually till the value is met) for speedometer correct movement (front end)