-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
31 lines (29 loc) · 882 Bytes
/
template.html
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
<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Count', 'Email Addresses'],
~1~
]);
var options = {
title: 'Sources of Your Emails',
pieHole: 0.4,
};
var chart = new google.visualization.PieChart(document.getElementById('donutchart'));
chart.draw(data, options);
}
</script>
</head>
<body>
<h1>EyeOnThePie Analysis</h1>
<div id="donutchart" style="width: 900px; height: 500px;"></div>
<div>
<h2>Command-line Output:</h2>
<pre>~2~</pre>
</div>
</body>
</html>