I try to find a solution for displaying labels on the image without overlapping. I mean overlapping not only labels with each other but with picture also.
For this purpose I have found some d3 plug-ins like d3-labeler and d3fc-label-layout.
The plug-ins can disable overlapping of labels and work very well.
As you can see on the screenshot the red text overlaps picture (black lines):

Can I prevent image overlapping using d3-labeler or d3fc-label-layout or something else???