Skip to content

Commit a647d48

Browse files
marketing class
1 parent 01ec8e2 commit a647d48

File tree

6 files changed

+1558
-1
lines changed

6 files changed

+1558
-1
lines changed

marketing/blackberry.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
5+
<title>D3.js Updating Radar Chart</title>
6+
7+
<!-- Google fonts -->
8+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
9+
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
10+
11+
<!-- D3.js -->
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/1.3.0/d3-legend.js" charset="utf-8"></script>
14+
15+
<style>
16+
body {
17+
font-family: 'Open Sans', sans-serif;
18+
font-size: 11px;
19+
font-weight: 300;
20+
text-align: center;
21+
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff;
22+
cursor: default;
23+
}
24+
25+
.rc_tooltip {
26+
font-size: 18px;
27+
}
28+
29+
</style>
30+
31+
</head>
32+
<body>
33+
<div id="radarChart"></div>
34+
<script src="radarChart.js"></script>
35+
36+
<script>
37+
var color = d3.scale.ordinal()
38+
.range(["#EDC951","#CC333F","#00A0B0"]);
39+
40+
var radarChartOptions = {
41+
width: 600,
42+
height: 600,
43+
color: color
44+
};
45+
46+
radarChart = RadarChart()
47+
48+
d3.select('#radarChart')
49+
.call(radarChart);
50+
51+
radarChart.options(radarChartOptions).update();
52+
53+
</script>
54+
55+
<script src="radarDemo2.js"></script>
56+
</body>
57+
</html>
58+

marketing/index.html

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
5+
<title>D3.js Updating Radar Chart</title>
6+
7+
<!-- Google fonts -->
8+
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300' rel='stylesheet' type='text/css'>
9+
<link href='https://fonts.googleapis.com/css?family=Raleway' rel='stylesheet' type='text/css'>
10+
11+
<!-- D3.js -->
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.6/d3.min.js" charset="utf-8"></script>
13+
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-legend/1.3.0/d3-legend.js" charset="utf-8"></script>
14+
15+
<style>
16+
body {
17+
font-family: 'Open Sans', sans-serif;
18+
font-size: 11px;
19+
font-weight: 300;
20+
text-align: center;
21+
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 -1px 0 #fff;
22+
cursor: default;
23+
}
24+
25+
.rc_tooltip {
26+
font-size: 18px;
27+
}
28+
29+
</style>
30+
31+
</head>
32+
<body>
33+
<div id="radarChart"></div>
34+
<script src="radarChart.js"></script>
35+
36+
<script>
37+
var color = d3.scale.ordinal()
38+
.range(["#EDC951","#CC333F","#00A0B0"]);
39+
40+
var radarChartOptions = {
41+
width: 600,
42+
height: 600,
43+
color: color
44+
};
45+
46+
radarChart = RadarChart()
47+
48+
d3.select('#radarChart')
49+
.call(radarChart);
50+
51+
radarChart.options(radarChartOptions).update();
52+
53+
</script>
54+
55+
<script src="radarDemo.js"></script>
56+
</body>
57+
</html>
58+

0 commit comments

Comments
 (0)