svgelement.selectAll("text").data(json).enter().append("text")
.style("font-size", function(d){return (Math.log(d.count+1)/3.0+0.5)+"em"})
.text(function(d) { return d.name+" "; })
- .on("mouseover", function(d){ d3.select(this).style("color","red")} )
- .on("mouseout", function(d){ d3.select(this).style("color","black")} )
- .on("click", function(d) { document.location.href=webbase+'/tag/'+d.name })
+ .on("mouseover", function(d){ d3.select(this).style("color","red") })
+ .on("mouseout", function(d){ d3.select(this).style("color","black")})
+ .on("click", function(d) { document.location.href=webbase+'/tag/'+d.name});
});
}