Skip to content

Commit

Permalink
feat(codeflower): init basic struct for fill code
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Mar 3, 2021
1 parent a52cb6c commit 749cde4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ <h2>Package by Size 1</h2>
<div id="circle-packing"></div>
<h2>Package by Size 2</h2>
<div id="nested-treemap"></div>
<h2>Coder Flower</h2>
<div id="code-flower"></div>

<h1>Organizational Culture</h1>
<div class="layout-grid2x2">
Expand Down Expand Up @@ -149,6 +151,7 @@ <h2>Commits Tree</h2>

<script src="public/js/graph/cloc/circle-packing.js"></script>
<script src="public/js/graph/cloc/nested-treemap.js"></script>
<script src="public/js/graph/cloc/code-flower.js"></script>

<script src="public/js/plugins/legend.js"></script>

Expand Down
3 changes: 3 additions & 0 deletions web/public/js/graph/cloc/code-flower.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function renderCodeFlower(data) {
console.log(data);
}
2 changes: 0 additions & 2 deletions web/public/js/graph/plugins/pipeline-visual.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ function visualizationPipeline(data, elementId) {
})
}));

console.log(stages);

let svg = d3.select(elementId)
.append('svg')
.attr('width', '100%')
Expand Down
1 change: 1 addition & 0 deletions web/public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ d3.json("data/cloc.json").then(function (json) {

renderPacking(data["reports"])
renderNestedTreemap(data["reports"])
renderCodeFlower(data["reports"]);
});

d3.json("data/git.json").then(function (json) {
Expand Down

0 comments on commit 749cde4

Please sign in to comment.