Skip to content

Commit

Permalink
feat(visual): init struct
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 25, 2021
1 parent dca6a63 commit c6c8419
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ <h2>Commits Tree</h2>
<script src="public/js/graph/git/commit-calendar.js"></script>
<script src="public/js/graph/git/commit-code-frequency.js"></script>
<script src="public/js/graph/git/commit-contributions.js"></script>
<script src="public/js/graph/struct/struct_visual.js"></script>

<script src="public/js/index.js"></script>
</body>
Expand Down
3 changes: 3 additions & 0 deletions web/public/js/graph/struct/struct_visual.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function visualizationStruct(data) {
console.log(data);
}
3 changes: 3 additions & 0 deletions web/public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ d3.json("data/git-commits.json").then(function (data) {
renderCodeFrequency(commit_by_weeks(data));
});

d3.json("data/struct_analysis.json").then(function (data) {
visualizationStruct(data);
});

0 comments on commit c6c8419

Please sign in to comment.