2023-01-26 13:48:41 +00:00
|
|
|
|
|
|
|
<!DOCTYPE>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset- "UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2023-01-31 11:31:50 +00:00
|
|
|
<title>Video Taxonomy Visualization</title>
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.1.1/chart.min.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
let data = [
|
|
|
|
{
|
|
|
|
ins: 0, // instructional principle
|
|
|
|
vis: 0, // visibility / audio
|
|
|
|
seg: 0, // segmentation
|
|
|
|
act: 0, // activity
|
|
|
|
int: 0, // interactivity
|
|
|
|
dyn: 0, // dynamic drawing
|
|
|
|
tra: 0 // translatability
|
|
|
|
}
|
|
|
|
]
|
|
|
|
|
|
|
|
</script>
|
2023-01-26 13:48:41 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>Video lectures taxonomy</h1>
|
|
|
|
<canvas id="chartId" aria-label="chart" height="350" width="580"></canvas>
|
2023-01-31 11:31:50 +00:00
|
|
|
|
2023-01-26 13:48:41 +00:00
|
|
|
<script>
|
|
|
|
var chrt = document.getElementById("chartId").getContext("2d");
|
|
|
|
var chartId = new Chart(chrt, {
|
|
|
|
type: 'radar',
|
|
|
|
data: {
|
2023-01-31 11:31:50 +00:00
|
|
|
labels: ["INS", "VIS", "SEG", "ACT", "INT", "DYN", "TRA"],
|
2023-01-26 13:48:41 +00:00
|
|
|
datasets: [{
|
2023-01-31 11:31:50 +00:00
|
|
|
label: "Title of video",
|
|
|
|
data: [1, 2, 3, 5, 4, 3, 4],
|
|
|
|
backgroundColor: "rgba(128,128,128,0.5)",
|
|
|
|
pointBackgroundColor: ['yellow', 'aqua', 'pink', 'lightgreen', 'lightblue', 'gold', 'maroon'],
|
2023-01-26 13:48:41 +00:00
|
|
|
borderColor: ['black'],
|
|
|
|
borderWidth: 1,
|
|
|
|
pointRadius: 6,
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
responsive: false,
|
|
|
|
elements: {
|
|
|
|
line: {
|
|
|
|
borderWidth: 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|