this is for holding javascript data
Alberto Pepe edited d3js_bpt_diagram.html
almost 10 years ago
Commit id: 310d0ecf3df7b194d69ae1d791d12cef8704c976
deletions | additions
diff --git a/d3js_bpt_diagram.html b/d3js_bpt_diagram.html
index dd85c98..f408ac3 100644
--- a/d3js_bpt_diagram.html
+++ b/d3js_bpt_diagram.html
...
});
var SDSS_IDGroup = SDSS_ID.enter().append("g").attr("class", "node")
.attr('transform', SDSS_IDGroup.append("circle")
.attr("r", 3)
.attr("class", "dot")
.style("fill", function (d) {
return
"translate(" + x(d.logNIIHALPHA) + "," + y(d.logOIIIHBETA) + ")"; d.name
});
SDSS_IDGroup.append("text")
.style("text-anchor", "middle")
.attr("dy", -10)
.text(function (d) {
return d.name;
});