-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
111 additions
and
37 deletions.
There are no files selected for viewing
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>HeatmapComponent demo 1</title> | ||
<script src="https://d3js.org/d3.v6.min.js"></script> | ||
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico"> | ||
<link rel="stylesheet" type="text/css" href="../build/heatmap-component.css" /> | ||
<script src="../build/heatmap-component.js"></script> | ||
</head> | ||
|
||
<body> | ||
<!-- Your visualization will be placed here --> | ||
<div id="app" style="width: 1000px; height: 300px; max-width: 95%; min-width: 400px; border: solid gainsboro 1px;"> | ||
</div> | ||
|
||
<div id="xminindex">X</div> | ||
<div id="xmaxindex" style="text-align: right;">X</div> | ||
<div id="xmin">X</div> | ||
<div id="xmax" style="text-align: right;">X</div> | ||
|
||
<p style="margin-top: 30px;"> | ||
Use scroll to zoom, Shift+scroll (or horizontal scroll) to pan. | ||
</p> | ||
<div style="height: 100vh;"></div> | ||
|
||
<script> | ||
HeatmapComponent.demo1('app'); | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8" /> | ||
<title>HeatmapComponent demo 2</title> | ||
<script src="https://d3js.org/d3.v6.min.js"></script> | ||
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico"> | ||
<link rel="stylesheet" type="text/css" href="../build/heatmap-component.css" /> | ||
<script src="../build/heatmap-component.js"></script> | ||
</head> | ||
|
||
<body> | ||
<!-- Your visualization will be placed here --> | ||
<div id="app" style="width: 1000px; height: 300px; max-width: 95%; min-width: 400px; border: solid gainsboro 1px;"> | ||
</div> | ||
|
||
<p style="margin-top: 30px;"> | ||
Use scroll to zoom, Shift+scroll (or horizontal scroll) to pan. | ||
</p> | ||
<div style="height: 100vh;"></div> | ||
|
||
<script> | ||
HeatmapComponent.demo2('app'); | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/** Main file for importing `HeatmapComponent` as a dependency */ | ||
|
||
export { demo, demo2, demo3 } from './heatmap-component/demo'; | ||
export { demo1, demo2, demo3 } from './heatmap-component/demo'; | ||
export { Heatmap } from './heatmap-component/heatmap'; |