-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
189 lines (153 loc) · 7.6 KB
/
index.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, user-scalable=0">
<script type="text/javascript" src="./vendor/d3.min.js"></script>
<script type="text/javascript" src="./vendor/cal-heatmap.min.js"></script>
<link rel="stylesheet" href="./vendor/cal-heatmap.css" />
<link rel="stylesheet" href="./vendor/normalize.css" />
<link rel="stylesheet" href="./vendor/skeleton.css" />
<link rel="stylesheet" href="./vendor/gh-fork-ribbon.css" />
<style>
.legend-tooltip{
position: absolute;
top: 5px;
margin-right: 10px;
width: 10px;
height: 10px;
background-color:#ededed;
}
.legend-square{
font-size: 75%;
}
.legend-square div{
position: relative;
}
.legend-square > div > em{
margin-left: 20px;
}
.container{
overflow: hidden;
}
.row{
margin-top: 5%;
}
.column{
margin-top: 0%;
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-172828387-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-172828387-1');
</script>
</head>
<body>
<a class="github-fork-ribbon right-top" href="https://github.com/eddietejeda/nytimes-covid-frontpage" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<div class="container">
<div class="row">
<div class="column">
<h1><b>COVID-19 mentions<br>on the NYTimes front page</b></h1>
<div id="cal"></div>
</div>
<div class="row">
<div class="twelve columns ">
<button id="previous" class="u-pull-left" class="btn">< Past</button>
<button id="next" class="u-pull-right" class="btn">Future ></button>
</div>
</div>
<div class="row legend-square">
<strong>Number of mentions</strong>
<div><span class="legend-tooltip" style="background-color: #ededed"></span><em>0 mentions</em></div>
<div><span class="legend-tooltip" style="background-color: #9cc069"></span><em>between 0 - 10</em></div>
<div><span class="legend-tooltip" style="background-color: #669d45"></span><em>between 10 - 20</em></div>
<div><span class="legend-tooltip" style="background-color: #637939"></span><em>between 20 - 30</em></div>
<div><span class="legend-tooltip" style="background-color: #3b6427"></span><em>more than 30 mentions</em></div>
<em>🔗 click on square to open PDF of NYTimes front page</em>
</div>
<div class="row">
<h3>About</h3>
<p>
I created this site to track coverage of COVID-19 and pinpoint when the pandemic stopped being frontpage news.
Specifically, when would we have <b>three consecutive days when COVID-19 was not mentioned on the frontpage? </b>
This site uses a script that downloads a PDF of the New York Times front page and looks for the
following keywords: corona, covid, virus, pandemic, wuhan.
</p>
<h3>Conclusion</h3>
<p>This project is complete. The data will not be updated after September 2022. According to this data, COVID-19-related news started appearing on the frontpage on January 21, 2020.<p>
<p>It took 353 days after the first mention for there to be no mention of COVID-19 on the front page. But the streak did not last for more
than two days. On the first two-day break, the headlines that took precedence were:<br>
<ul>
<li> January 7th 2021 - Trump Incites Mob</li>
<li> January 8th 2021 - Calls Grow To Remove Trump As U.S. Officials Head for Exit</li>
</ul>
</p>
<p>After 833 days, we had 3 consecutive days. The headlines that took precedence were:<br>
<ul>
<li> May 3, 2022 - Leaked Draft Shows Court Would Topple Roe v. Wade<br>
<li> May 4, 2022 - Draft Abortion Ruling Signals Seismic Political Shift<br>
<li> May 5, 2022 - Leak Intensifies View That Court Is Too Political<br>
</ul>
</p>
<h3>Key Dates</h3>
<p>You can download a PDF of the frontpage by clicking on the tiles above. Disclaimer: Other than a cursory review, I did not manually validate the results. If you spot any problems, <a href="https://github.com/eddietejeda/nytimes-covid-frontpage">submit an issue on Github</a>.</p>
<p>For orientation, I created a timeline of key events. <a href="https://archive.ph/Enrp7">Source</a></p>
<ul>
<li>December 6, 2019 - The first documented COVID-19 hospital admission.<sup><a href="https://en.wikipedia.org/wiki/Timeline_of_the_COVID-19_pandemic">1</a></sup></li>
<li>January 9, 2020 - WHO reported that Chinese authorities determined that the outbreak is caused by a novel coronavirus.<sup><a href="https://www.who.int/news-room/detail/29-06-2020-covidtimeline">2</a></sup></li>
<li>January 21, 2020— CDC Confirms First US Coronavirus Case.</li>
<li>March 19, 2020 — California Issues Statewide Stay-at-Home Order</li>
<li>July 22, 2020 — HHS, DOD Announce Vaccine Distribution Agreement With Pfizer and BioNTech</li>
<li>June 10, 2020 — US COVID-19 Cases Reach 2 Million</li>
<li>August 3, 2020 — New US Pandemic Phase; US to Pay Sanofi, GlaxoSmithKline $2B for Vaccine</li>
<li>September 25, 2020 — Midwest States See Increase in COVID-19 Cases</li>
<li>September 28, 2020 — Global COVID-19 Deaths Surpass 1 Million</li>
<li>October 2, 2020 — Trump, First Lady Test Positive for COVID-19; Trump Enters Hospital</li>
<li>October 19, 2020 — Global Cases Top 40 Million</li>
<li>February 19, 2021 - Pfizer/BioNTech First Dose Effective in Real-World Data</li>
<li>February 26, 2021 - 50 Million COVID-19 Vaccine Doses Administered</li>
<li>March 1, 2021 - J&J Vaccine Rollout Begins</li>
<li>March 19, 2021 - United States Administers 100 Millionth Vaccine</li>
<li>August 3, 2021 - 70% of US Vaccinated</li>
<li>November 19, 2021 - FDA Approves COVID-19 Boosters for All Adults</li>
</ul>
</div>
</div>
<div style="margin: 0 auto; text-align: center"><a href="https://eddietejeda.com/">Home</a></em>
</div>
</body>
<script>
const PRODUCTION_URL="https://nytimes-covid-frontpage.s3.amazonaws.com";
const cal = new CalHeatMap();
const baseurl = (location.port == "8000") ? "./data" : PRODUCTION_URL;
cal.init({
itemSelector: "#cal",
itemName: "mention",
domain: "month",
subDomainTextFormat: "%d",
data: `${baseurl}/results.json`,
start: new Date("January 1, 2022 01:15:00"),
cellSize: 25,
tooltip: true,
range: 7,
previousSelector: "#previous",
nextSelector: "#next",
considerMissingDataAsZero: true,
legend: [0, 10, 20, 30],
displayLegend: false,
legendTitleFormat: {
lower: "{min} {name}",
inner: "between {down} and {up} {name}",
upper: "more than {max} {name}"
},
onClick: function(d, nb) {
var datestring = `${d.getFullYear()}/${("0"+(d.getMonth()+1)).slice(-2)}/${("0" + d.getDate()).slice(-2)}`
window.open(`https://static01.nyt.com/images/${datestring}/nytfrontpage/scan.pdf`, '_blank');
}
});
</script>
</html>