Last active
December 13, 2018 01:06
Revisions
-
max-l revised this gist
Dec 13, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,6 @@ var td = tr.selectAll("td") .data(d => d.da) .enter().append("td") .text(d => '+'+d); </script> </body> -
max-l revised this gist
Dec 13, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,6 @@ var td = tr.selectAll("td") .data(d => d.da) .enter().append("td") .text(d => d); </script> </body> -
max-l revised this gist
Dec 13, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,7 +22,7 @@ .enter().append("tr").text(d => d.r) var td = tr.selectAll("td") .data(d => d.da) .enter().append("td") .text(function(d) { return d; }); </script> -
max-l revised this gist
Dec 13, 2018 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,8 +11,8 @@ <script> var matrix2 = [ {r:"r1", da: [11975, 5871, 8916, 2868]}, {r:"r2", da: [1951, 10048, 2060, 6171]}, ]; var tr = d3.select("body") @@ -22,7 +22,7 @@ .enter().append("tr").text(d => d.r) var td = tr.selectAll("td") .data(function(d) { return d.da; }) .enter().append("td") .text(function(d) { return d; }); </script> -
max-l revised this gist
Dec 13, 2018 . No changes.There are no files selected for viewing
-
max-l revised this gist
Dec 13, 2018 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,19 +10,19 @@ <body> <script> var matrix2 = [ {r:"r1", d: [11975, 5871, 8916, 2868]}, {r:"r2", d: [1951, 10048, 2060, 6171]}, ]; var tr = d3.select("body") .append("table") .selectAll("tr") .data(matrix2) .enter().append("tr").text(d => d.r) var td = tr.selectAll("td") .data(function(d) { return d.d; }) .enter().append("td") .text(function(d) { return d; }); </script> -
max-l created this gist
Dec 13, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ license: mit This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ Built with [blockbuilder.org](http://blockbuilder.org) This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ <!DOCTYPE html> <head> <meta charset="utf-8"> <script src="https://d3js.org/d3.v4.min.js"></script> <style> body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } </style> </head> <body> <script> var matrix = [ {r:"r1", d: [11975, 5871, 8916, 2868]}, {r:"r1", d: [1951, 10048, 2060, 6171]}, ]; var tr = d3.select("body") .append("table") .selectAll("tr") .data(matrix) .enter().append("tr"); var td = tr.selectAll("td") .data(function(d) { return d; }) .enter().append("td") .text(function(d) { return d; }); </script> </body>