-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdonut.htm
More file actions
49 lines (29 loc) · 806 Bytes
/
Copy pathdonut.htm
File metadata and controls
49 lines (29 loc) · 806 Bytes
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
39
40
41
42
43
44
45
46
47
48
49
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>D3 visuals - showcase Masood A</title>
<!-- <script src="script/d3.v3.min.js"></script> -->
<script src="script/d3.v4.min.js"></script>
<script src="js/donut.js"></script>
<style>
body {margin:50px;
font-family:arial;
font-size:12px;
/*background-image: url("image/servers.jpg");*/
}
.arc1, .arc2 { border: solid 1px #ccc; margin:auto;}
h2 {color:#666;}
/*.donutChart {margin:auto; width:700px;}*/
</style>
</head>
<body>
<h1>DoNut</h1>
<h2>Note: demo of using d3.js using an external data source ( json) http://localhost/d3js/data/testdata.json <br> Masood A
</h2>
<div class="donutChart"></div>
<script>
donutChart();
</script>
</body>
</html>