score:1

Accepted answer

the d3.select always selects the first svg. i would use a @viewchild to get the right element and change the oninit code to afterviewinit

here is the fixed version.


Related Query

More Query from same tag