mardi 12 septembre 2017

How to append a css checkbox into d3 visualization

I have created a checkbox in CSS that I am using to filter data in my visualization. Everything is working correctly, except that the checkbox itself is not appended into to svg. I have been positioning it using the css code,how can I solve this so that the checkbox is appended to the visualization itself?

The css code: label { position: absolute; top: 57px; left: 105px; color: black; }

When I try to append the checkbox to the svg, it erases everything else: svg.append(d3.select("label"))

Thanks




Aucun commentaire:

Enregistrer un commentaire