Skip to content

Commit

Permalink
fixing demo example
Browse files Browse the repository at this point in the history
  • Loading branch information
markolalovic committed Jul 9, 2024
1 parent 868f884 commit 1f3b6cc
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
1 change: 0 additions & 1 deletion demo/digitGraphData.json

This file was deleted.

10 changes: 5 additions & 5 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,23 @@
<body>
<div id="chart-window"></div>
<div id="slider">
<p class="text">
<strong>Select threshold value:</strong>
</p>
<label for="range-input" class="label-text">
<strong>Select threshold value: </strong>
</label>
<input
name="threshold"
type="range"
id="range-input"
step="1"
min="0"
max="22"
value="0"
id="range-input"
/>
</div>
<div class="alignright">
Read more about this demo in:
<a href="https://lalovic.io/blog/tda-digits/">blog post</a>
</div>
<script src="./digitGraphData.json"></script>
<script src="./layoutRect.js"></script>
<script src="./appendImages.js"></script>
<script src="./digitGraph.js"></script>
Expand Down
7 changes: 6 additions & 1 deletion demo/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion demo/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ body {
}

#slider {
padding: 30px;
transform: translate(0px, -400px);
z-index: 1;
}
Expand All @@ -23,7 +24,7 @@ input {
.axis3-0 { font-size: 16px; }
.axis3-1 { font-size: 16px; }
.legend-text { font-size: 20px; font-weight: lighter;}

.label-text { padding: 10px; }
.alignright {
float: right;
font-size: 24px;
Expand Down

0 comments on commit 1f3b6cc

Please sign in to comment.