Wednesday July 30, 2014
I’ve updated some of the graphical displays of the ideal point estimates I serve up here. I’ve rendered some of these in d3, with some rollover lah-de-dah: (1) 113th House ideal points in a long “caterpillar” format; (2) scatterplot of ideal point against Obama 2012 vote in district. Screenshot of the scatterplot appears below.
My R scripts dump csv containing the ideal point estimates, credible intervals, labeling info, which I then pick up on the d3 side. Â Separate files dump fitted values from local regression fitting estimated ideal point as a function of Obama vote in district.
I toyed with the idea of loess on the d3/js side (with sliders for user control of bandwidth etc), more as a plausibility probe than anything, but it seems like a lot to push down through the browser.