-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathgetData.js
More file actions
28 lines (27 loc) · 984 Bytes
/
getData.js
File metadata and controls
28 lines (27 loc) · 984 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
var data = [{
type: 'funnelarea',
scalegroup: "first",
values: [500, 450, 340, 230, 220, 110],
textinfo: "value",
title: {position: "top center", text: "Sales for Sale Person A in U.S."},
domain: {x: [0, 0.5], y: [0, 0.5]}
},
{
type: 'funnelarea', scalegroup: "first",
values: [600, 500, 400, 300, 200, 100],
textinfo: "value",
title: {position: "top center", text: "Sales of Sale Person B in Canada"},
domain: {x: [0, 0.5], y: [0.55, 1]}},
{
type:'funnelarea',
scalegroup: "second",
values: [510, 480, 440, 330, 220, 100], textinfo: "value",
title: {position: "top left", text: "Sales of Sale Person A in Canada"},
domain: {x: [0.55, 1], y: [0, 0.5]}},
{
type: 'funnelarea', scalegroup: "second",
values: [360, 250, 240, 130, 120, 60],
textinfo: "value", title: {position: "top left", text: "Sales of Sale Person B in U.S."},
domain: {x: [0.55, 1], y: [0.55, 1]}
}];
return data;