Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试这个:
var tr = tbody.selectAll("tr") .data(testData.filter(function(d,i){ if (i > 0 ) { // don't need the first row return d; }})) .enter() .append("tr");
这是演示。