how to make a color legend with d3

后端 未结 0 1380
梦谈多话
梦谈多话 2020-11-22 08:18

I am trying to make a simple color legend, but I can\'t figure it out.

My nodes are colored based on their value as following

  color = d3
      .scale         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题