Skip to content

Commit af7c16a

Browse files
committed
worldcup mock test emoji
1 parent 87b8492 commit af7c16a

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed

test/image/mocks/worldcup.json

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"data": [
3+
{
4+
"orientation": "h",
5+
"type": "bar",
6+
"marker": { "color": "lightblue" },
7+
"textangle": 0,
8+
"textposition": "inside",
9+
"textfont": {
10+
"color": "white",
11+
"size": 32
12+
},
13+
"text": [
14+
"1958 | 1962 | 1970 | 1994 | 2002 🇧🇷",
15+
"1954 | 1974 | 1990 | 2014 🇩🇪",
16+
"1934 | 1938 | 1982 | 2006 🇮🇹",
17+
"1930 | 1950 🇺🇾",
18+
"1998 | 2018 🇫🇷",
19+
"1974 | 1986 🇦🇷",
20+
"1966 🏴󠁧󠁢󠁥󠁮󠁧󠁿",
21+
"2010 🇪🇸"
22+
],
23+
"y": [
24+
"Brazil",
25+
"Germany",
26+
"Italy",
27+
"Uruguay",
28+
"France",
29+
"Argentina",
30+
"England",
31+
"Spain"
32+
],
33+
"x": [
34+
5,
35+
4,
36+
4,
37+
2,
38+
2,
39+
2,
40+
1,
41+
1
42+
]
43+
}
44+
],
45+
"layout": {
46+
"title": {
47+
"text": "<b>FIFA 🌎 World Cup 🏆 winners</b>",
48+
"font": {
49+
"size": 40,
50+
"color": "gray"
51+
}
52+
},
53+
"width": 600,
54+
"height": 600,
55+
"margin": {
56+
"l": 20,
57+
"r": 20
58+
},
59+
"yaxis": {
60+
"ticklabelposition": "inside",
61+
"autorange": "reversed"
62+
},
63+
"xaxis": {
64+
"zeroline": false,
65+
"range": [-1, 6],
66+
"tickvals": [0, 1, 2, 3, 4, 5],
67+
"ticktext": ["😐", "🙂", "😊", "🤨", "😃", "😎"
68+
],
69+
"tickfont": { "size": 32 },
70+
"title": {
71+
"text": "<br><b>An interactive Plotly graph</b>"
72+
}
73+
}
74+
}
75+
}

0 commit comments

Comments
 (0)