Sha256: 471a95ce59c64c1f205b1365f72f5da7e67dfcb10bf155f87a6f179e5ba4530f
Contents?: true
Size: 610 Bytes
Versions: 31
Compression:
Stored size: 610 Bytes
Contents
<!DOCTYPE html> <html> <head> <title>Test - select > enter > append</title> <script type="text/javascript" src="../../d3.js"></script> </head> <body> <span></span> <span></span> <script type="text/javascript"> var s = d3.select("body") .selectAll("span") .data("The test passed, hooray!".split(/\b/)); // Add missing <span>s. s.enter().append("span") .append("b") .text(function(d) { return d; }); // Add missing <b>s. s.selectAll("b") .data(function(d) { return [d]; }) .enter().append("b") .text(function(d) { return d; }); </script> </body> </html>
Version data entries
31 entries across 31 versions & 2 rubygems