davidwisdom commited on
Commit
1463617
1 Parent(s): 04f9895

Add a description

Browse files
Files changed (1) hide show
  1. app.py +59 -1
app.py CHANGED
@@ -292,4 +292,62 @@ f.update_layout({
292
  })
293
 
294
  st.set_page_config(layout='wide')
295
- st.plotly_chart(f, use_container_width=True, theme=None)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
292
  })
293
 
294
  st.set_page_config(layout='wide')
295
+ st.plotly_chart(f, use_container_width=True, theme=None)
296
+
297
+ col1, col2, col3 = st.columns(3)
298
+ col2.markdown("""
299
+ # What is this?
300
+
301
+ I want to challenge myself to make a visualization I'm proud of.
302
+
303
+ If I ever find myself thinking
304
+ > I could probably clean that up but ugh that would be annoying I don't wanna
305
+
306
+ then I absolutely have to clean that up.
307
+
308
+ That's about the end of my thought process.
309
+
310
+
311
+ I've seen a few antitrust cases involving Big Tech companies in the news recently.
312
+ Those articles make me curious how common antitrust cases are in general.
313
+
314
+ How many does the DOJ file each month?
315
+ Are the numbers pretty consistent or are there large swings?
316
+
317
+ What does it look like?
318
+ """)
319
+
320
+ col2.markdown("""
321
+ # The data
322
+
323
+ To get the data, I went to [the website for the Antitrust Division of the U.S. Department of Justice](https://www.justice.gov/atr/antitrust-case-filings), clicked "Filter by Case Open Date" in the left menu, and clicked "Show more." That gave me a pretty clean list that I could highlight and copy.
324
+
325
+ ```
326
+ June 2023 (2)
327
+
328
+ April 2023 (1)
329
+
330
+ March 2023 (1)
331
+
332
+ February 2023 (2)
333
+
334
+ January 2023 (5)
335
+
336
+ 2023 (11)
337
+
338
+ November 2022 (4)
339
+ [ . . . ]
340
+ ```
341
+
342
+ There are some obvious problems with this data.
343
+ For example, I found [a Wikipedia article about U.S. antitrust law](https://en.wikipedia.org/wiki/United_States_antitrust_law).
344
+ That page refers to a case that happened in 1943, but my data doesn't have any cases in 1943.
345
+ My best guess is that this data only includes records the DOJ has digitized and made available on their website.
346
+
347
+ There's also at least one typo in this random menu on the DOJ's website.
348
+ For the annual count of all cases opened in 2022, they list the correct amount but they label it "2026" instead.
349
+ I didn't notice any other typos.
350
+ I'm sure there are a few I missed.
351
+
352
+ As I said above, I just want to turn some data into a pretty plot.
353
+ """)