Skip to main content
100%

OC bug

✓ Published0🌍 Public
RRCura
Last edited Apr 1, 2015
Created on Apr 1, 2015

This example visualizes legislative voting patterns by plotting legislators in a two-dimensional coordinate space based on their roll-call votes. The chart reveals how legislators cluster or diverge, with varying point sizes and colors indicating their voting volume and alignment on yea/nay issues. The underlying data comes from a small voting matrix processed through the `rollcall` and `oc` functions in R’s `pscl` and `oc` packages, which perform optimal classification scaling. The gist outputs the computed coordinates (`coord1D`, `coord2D`) and vote statistics, while the plot itself is rendered from that tabular result.

AI-generated description

Similar vizzes