by Rexxar · 10y ago · 0 comments
They gauges moving around is definitely random.
The updates are done with a "president.json" file, fetched every 15 seconds, but the timestamp in the json data only changes every 30-180 seconds.
So all of the movement is just random jitter to make it engaging.
Maybe a bit disingenuous.
(Note: I first thought they might be using websockets, but no WS connection is made on the page. Only a ajax fetch of president.json)
It's only misleading developers, who will think that data is being streamed rather than fetched once. Other than that it's a clever (and yes, entertaining) way of displaying margins of error.
Can I offer that, of all the things in news and dataviz to shit on, this isn't one of them? I mean, really, an "abuse of our attention" - what?
Only a dev would think about the possibility of a statistical model updated with a second(s) granularity.
And be disappointed (I was) that it's actually just updated every few minutes with a fetched JSON file, rather than some fancy instant updates pushed down via a websocket connection. :D
In this case, a better solution would be a blurred needle.
It is well known that multi-tasking and context switching has a cost. The same applies to movements on visualizations.
No dispute that it's clever and entertaining. These are undesirable qualities in a reliable source of information.
Can you imagine reading a scientific journal in which the data narrative was deliberately engineered to keep you guessing until the conclusion? You would be right to raise eyebrows at a publication that is investing in your attention rather than its own accuracy.
There's no dire consequence here, it's just slightly dystopian that US presidential elections are unapologetically leveraged as a vehicle for mass entertainment by the press itself.
The estimates below include an estimate of uncertainty. We expect the uncertainty around these estimates to narrow, especially after races are called.
I don't see any reason why we'd expect the uncertainty to be updated more than every 30-180 seconds or why any of this is the least bit "disingenuous".
It's also a hint that the page isn't static.
No one want's to look at a static page fore more than a few seconds, once you have taken in the information.
And I guarantee you that there are plenty of visitors on that page right now, staring at the gauges with fascination.
So in showing wrong uncertainty, they are being even more disingenuous.
That's what I checked first. ;)
require('forecast/jitter').get = function(){return 0;} require('forecast/jitter').get = function(){return Math.random()*10;} require('forecast/jitter').get = function(){return new Date().getSeconds()-30;}Did you just dig through the code or are you a NYT dev?
Periodic real updates with something more expressive than a spinner, which have never been convincing enough to keep me from mashing reload.