Skip to content

A jQuery pluggin + CSS to create a Senate and/or House of Representatives whip count visualization

License

Notifications You must be signed in to change notification settings

demand-progress/jquery-whip-count

Repository files navigation

jquery-whip-count

A jQuery pluggin + CSS to create a Senate and/or House of Representatives whip count visualization

jquery-whip-count

Include

<script src="whip-count.min.js"></script>
<link rel="stylesheet" href="whip-count.css"></link>

Usage

$('#chart').whipCount({
	house : {
		firmYea : 81,
		leanYea : 21,
		leanNay : 20,
		firmNay : 50
	},
	senate : {
		firmYea : 20,
		leanYea : 10,
		leanNay : 10,
		firmNay : 20
	},
	filibuster : false,	// show the filibuster 60% marker
	legend : true		// show legend
});

About

A jQuery pluggin + CSS to create a Senate and/or House of Representatives whip count visualization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published