Skip to content

Commit 8b57fb5

Browse files
archmojemilykl
authored andcommitted
round worldcup
1 parent 015b881 commit 8b57fb5

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed
63.7 KB
Loading
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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": [5, 4, 4, 2, 2, 2, 1, 1]
34+
}
35+
],
36+
"layout": {
37+
"barcornerradius": "50%",
38+
"title": {
39+
"text": "<b>FIFA 🌎 World Cup 🏆 winners</b>",
40+
"font": {
41+
"size": 40,
42+
"color": "gray"
43+
}
44+
},
45+
"width": 600,
46+
"height": 600,
47+
"margin": {
48+
"l": 20,
49+
"r": 20
50+
},
51+
"yaxis": {
52+
"ticklabelposition": "inside",
53+
"autorange": "reversed"
54+
},
55+
"xaxis": {
56+
"zeroline": false,
57+
"range": [-1, 6],
58+
"tickvals": [0, 1, 2, 3, 4, 5],
59+
"ticktext": ["😐", "🙂", "😊", "🤨", "😃", "😎"],
60+
"tickfont": { "size": 32 },
61+
"title": {
62+
"text": "<br><b>An interactive Plotly graph</b>"
63+
}
64+
}
65+
}
66+
}

0 commit comments

Comments
 (0)