Viewing a single comment thread. View all comments

mastakhan t1_jblgyvv wrote

>It’s clear there is a very strong correlation between the vote margin and population density.

What's the actual r coefficient for the first diagram? Could you share a csv or something? I wonder if "very strong correlation" might be overstating it, the inclusion of larger size data points in the scatter plot makes it seem to trend more up and right so it's a bit hard to tell visually.

1

innergamedude OP t1_jbljyxs wrote

Not mine, but:

>Data and Tools The 2020 county-level election data is downloaded from the New York Times county election data API and processed using a python script. Population data used is for 2018.

So I guess that's how you get the data.

2