kaizuberbuehler commited on
Commit
5474a7f
·
2 Parent(s): 03738e4 6dbff1d

Merge remote-tracking branch 'origin/main'

Browse files
Files changed (2) hide show
  1. app.py +12 -1
  2. big_five_capex.jsonl +1 -1
app.py CHANGED
@@ -28,7 +28,18 @@ def create_big_five_capex_plot():
28
  name=company,
29
  marker_color=color
30
  ))
31
-
 
 
 
 
 
 
 
 
 
 
 
32
  fig.update_layout(
33
  title='Capital Expenditure of the Big Five Tech Companies in Millions of U.S. Dollars per Quarter',
34
  xaxis_title='Quarter',
 
28
  name=company,
29
  marker_color=color
30
  ))
31
+
32
+ fig.add_vline(
33
+ x=df.index[df['Quarter'] == "2023 Q1"].tolist()[0] + 0.5,
34
+ line_width=1,
35
+ line_dash="dash",
36
+ line_color="black",
37
+ annotation_text="AI arms race begins",
38
+ annotation_position="top right",
39
+ annotation_font_size=12,
40
+ annotation_font_color="black"
41
+ )
42
+
43
  fig.update_layout(
44
  title='Capital Expenditure of the Big Five Tech Companies in Millions of U.S. Dollars per Quarter',
45
  xaxis_title='Quarter',
big_five_capex.jsonl CHANGED
@@ -1,4 +1,3 @@
1
- {"Quarter": "2014 Q3", "Microsoft": 1282, "Google": 2417, "Meta": 482, "Apple": 3826, "Amazon": 1378}
2
  {"Quarter": "2014 Q4", "Microsoft": 1490, "Google": 3606, "Meta": 517, "Apple": 3217, "Amazon": 1145}
3
  {"Quarter": "2015 Q1", "Microsoft": 1391, "Google": 2927, "Meta": 502, "Apple": 2369, "Amazon": 871}
4
  {"Quarter": "2015 Q2", "Microsoft": 1781, "Google": 2515, "Meta": 549, "Apple": 2043, "Amazon": 1213}
@@ -38,3 +37,4 @@
38
  {"Quarter": "2023 Q4", "Microsoft": 9735, "Google": 11019, "Meta": 7665, "Apple": 2392, "Amazon": 14588}
39
  {"Quarter": "2024 Q1", "Microsoft": 10952, "Google": 12012, "Meta": 6400, "Apple": 1996, "Amazon": 14925}
40
  {"Quarter": "2024 Q2", "Microsoft": 13873, "Google": 13186, "Meta": 8173, "Apple": 2151, "Amazon": 17620}
 
 
 
1
  {"Quarter": "2014 Q4", "Microsoft": 1490, "Google": 3606, "Meta": 517, "Apple": 3217, "Amazon": 1145}
2
  {"Quarter": "2015 Q1", "Microsoft": 1391, "Google": 2927, "Meta": 502, "Apple": 2369, "Amazon": 871}
3
  {"Quarter": "2015 Q2", "Microsoft": 1781, "Google": 2515, "Meta": 549, "Apple": 2043, "Amazon": 1213}
 
37
  {"Quarter": "2023 Q4", "Microsoft": 9735, "Google": 11019, "Meta": 7665, "Apple": 2392, "Amazon": 14588}
38
  {"Quarter": "2024 Q1", "Microsoft": 10952, "Google": 12012, "Meta": 6400, "Apple": 1996, "Amazon": 14925}
39
  {"Quarter": "2024 Q2", "Microsoft": 13873, "Google": 13186, "Meta": 8173, "Apple": 2151, "Amazon": 17620}
40
+ {"Quarter": "2024 Q3", "Microsoft": 14923, "Google": 13016, "Meta": 8258, "Apple": 0, "Amazon": 22620}