Skip to content

Instantly share code, notes, and snippets.

View timmoore360's full-sized avatar

Tim Moore timmoore360

  • Seattle, WA
View GitHub Profile
@timmoore360
timmoore360 / index.html
Last active November 9, 2023 18:57
Mountain-climbing-visual
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<script src='http://d3js.org/d3.v3.min.js'></script>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.2.min.js'></script>
<link href="https://fonts.googleapis.com/css?family=Raleway"
rel="stylesheet">
<script type='text/javascript' src='jquery.tipsy.js'></script>
@timmoore360
timmoore360 / State_tax.csv
Last active March 10, 2017 06:20
This visual examines the relationship between federal taxes, expenditures and electoral college representation by state.
State Year Federal Taxes paid Federal Spending received Federal Spending received per dollar of tax paid Electoral votes Presidential voters Electors per voter Times voted R
Alabama 1981 7356 9361 1.2726 9 1341929 6.71E-06 1
Alabama 1982 7494 9933 1.3255 9 1341929 6.71E-06 1
Alabama 1983 7415 10813 1.4583 9 1341929 6.71E-06 1
Alabama 1984 8259 11444 1.3856 9 1441713 6.24E-06 2
Alabama 1985 9142 12469 1.3639 9 1441713 6.24E-06 2
Alabama 1986 9377 13097 1.3967 9 1441713 6.24E-06 2
Alabama 1987 10280 13927 1.3548 9 1441713 6.24E-06 2
Alabama 1988 10866 14354 1.321 9 1378476 6.53E-06 3
Alabama 1989 11903 15131 1.2712 9 1378476 6.53E-06 3
@timmoore360
timmoore360 / index.html
Last active January 13, 2017 01:26
This is a quick and dirty blueprint program I wrote to figure out how best to decorate our new condo. Users can build rectangles and circles to scale. Then they are able to drag the elements around to see how the layout looks.
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<script src='https://d3js.org/d3.v3.min.js'></script>
<script type="text/javascript" src="jquery-1.11.1.js"></script>
<style>
h2 {
color: black;
opacity: 0.85;