Is it possible to generate chart like below?


HI @Aysha welcome to the forums.

The general answer is yes, but it depends on what exactly you are referring to.

If you are referring to the slopes calculated automatically with something buitin- there is no such functionality as far as I know.

Other than that, your chart is a scatter plot with two traces.

i need to create the boxes with the slopes along with the chart also that shows in the it possible?

Yes. The slopes are actually available as built-in since the last plotly release.