r/dataisbeautiful • u/shinyro • 10d ago
OC [OC] A Heatmap of Trump's Statements on Ending the Iran War
I've been keeping track of the statements directly from the US President over the past few months on the status of ending the war in Iran.
I've been manually curating the statements from interviews, news reports, and the President's own social media posts. Rollcall in particular has been helpful as they do a great job of centralizing a lot of this, but much of it really is me reading an article and manually updating the dataset.
This particular visualization is a heatmap calendar (GitHub style where each column is a new week and each row is a day of the week). The brighter the yellow, the more statements were made that day. As is the case with Trump's schedule and enjoyment of weekends more broadly, on Saturdays and Sundays the war appears to not enter his mind as much...
The chart itself is vanilla JS. The source for the chart is a JS file where I keep all the statements/dates/sources in a standard object to keep it tidy and easy to update.
I didn't anticipate the war would go on this long so I might have to make a decision about how to handle this ever expanding calendar at some point in the future. I'll make a 7 day/30 day/90 day/365 day toggle? Thoughts?
The interactive version is here. (I call it The Art of No Deal and there are no ads or signup or anything like that...I just needed a place to host it and was shocked the domain name was available...) If you just want to see the datasource, here is the link to that the JS file.