Hola, actualmente trabajo en d3 y tengo un problema en el que ni siquiera aparece mi información sobre herramientas. Eventualmente quiero implementar una animación para la opacidad, pero no puedo hacerlo si esto no funciona. ¿Alguien tiene alguna idea de cuál podría ser el problema?
var tooltip = d3.selectAll("#job") .append("div") .style("position","absolute") .style("visibility", "hidden") .text("D3 is here") d3.selectAll("#job") .on("mouseover",function(){ return d3.select(this.lastChild).style("visibility","visible").raise();}) .on("mousemove", function(){return d3.select(this.lastChild).style("top", (event.pageY-400)+"px").style("left",(event.pageX-400)+"px");}) .on("mouseout",function(){return d3.select(this.lastChild).style("visibility","hidden");});[![enter image description here][1]][1]