@Sukalpo, please see the FAQ: What's a reproducible example (`reprex`) and how do I do one? Using a reprex, complete with representative data will attract quicker and more answers. That will allow someone with the plotly
expertise I lack to more readily help.