Vote count:
0
Ive looked and read all i could suck in, but im still having trouble with this Centroid. This is somewhat similar to another question of mine, but this is much more precise.
I need to put text / image on the centroid of these regions:
The svg data is already in my html file in the format like this:
So i need to select a path, and use the centroid function on the d attribute, and then place a dot/text/image etc.
Hope for a solution to this. Thanks
asked 18 secs ago
Place text/image on svg path centroid using D3
Aucun commentaire:
Enregistrer un commentaire