Answer the question
In order to leave comments, you need to log in
How to use dom elements in canvas?
I found this option https://bl.ocks.org/lsbardel/9f61d91fae37b50dac881... where svg elements are drawn in canvas, but I can't understand the mechanics of the process. It seems that everything that is described there occurs in svg. However, it also draws on canvas
Answer the question
In order to leave comments, you need to log in
It draws either svg or canvas, depending on what you have chosen. What do you not understand about this example? The library https://d3js.org/ is used there, it has documentation, everything is clearly described there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question