Setting an id issue in d3

前端 未结 1 1690
野的像风
野的像风 2021-02-18 15:38

So this is what I\'m doing:

selection = canvas.selectAll(\"circle\").data(mydata)

            selection.enter().append(\"circle\")

            selection
              


        
相关标签:
1条回答
  • 2021-02-18 16:27

    I figured it out, apparently ids can't start with a number.

    0 讨论(0)
提交回复
热议问题