generated from jtr13/quarto-edav-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
d3graph.qmd
38 lines (35 loc) · 1.1 KB
/
d3graph.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Interactive graph
<script src="https://cdn.jsdelivr.net/npm/d3@7"></script>
<script src="scripts/myscript.js"></script>
<link rel="stylesheet" href="scripts/style.css" />
<div class="centerer">
Type the name of an R package to view it's dependency graph.
If your package is not in our 20102 packages, closest one
will be picked. (yay algos!) Even though the off-centered
graph is the <b>bane</b> of my existence. You can hover over
nodes to view the package.
<h2>Dependency Graph</h2>
</div>
<div class="input-group">
<input type="text" id="textbox1" placeholder="ggplot2" />
<button id="submitBtn1">Draw</button>
</div>
<div id="plot1"></div>
<hr />
<div class="centerer">
<h2>Package Enhancers</h2>
</div>
<div class="input-group">
<input type="text" id="textbox2" placeholder="aer" />
<button id="submitBtn2">Draw</button>
</div>
<div id="plot2"></div>
<hr />
<div class="centerer">
<h2>Package Usage</h2>
</div>
<div class="input-group">
<input type="text" id="textbox3" placeholder="remotes" />
<button id="submitBtn3">Draw</button>
</div>
<div id="plot3"></div>