Alberto Pepe edited d3js_bpt_diagram.html  almost 10 years ago

Commit id: 8574152e54312d1b900b7a27c7fc2e7d9ceb9fb3

deletions | additions      

       

return d.name;  });  // offending code is here   // var SDSS_IDGroup = SDSS_ID.enter().append("g").attr("class", "node").attr('transform', function (d) {   // return "translate(" + x(d.logNIIHALPHA) + "," + y(d.logOIIIHBETA) + ")";   // });     SDSS_IDGroup.append("circle")   .attr("r", 3)   .attr("class", "dot")   .style("fill", function (d) {   return d.name   });     SDSS_IDGroup.append("text")   .style("text-anchor", "middle")   .attr("dy", -10)   .text(function (d) {   return d.name;   });     }