Skip to content

Commit 30ebbb5

Browse files
committed
Merge branch 'master' into gh-pages
2 parents b9596eb + 9273db3 commit 30ebbb5

File tree

10 files changed

+770
-183
lines changed

10 files changed

+770
-183
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Index View
22

3-
Widget to graph historical index fund data and show stats for different time ranges.
3+
Widget to graph historical index fund data and show stats for different time ranges. Includes data from Robert Shiller on S&P 500, Housing prices, Long interest rates and more.
44

5-
Prototyped in one evening so code is terrible.
5+
I haven't done javascript in a while so code is kind of ugly.
66

77
[Demo](http://thume.ca/indexView)

datasets/shiller_absolute.json

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

datasets/shiller_housing.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"start":1890,
3+
"name": "Shiller Housing Data",
4+
"price": [100.0, 100.0, 100.0, 100.0, 88.01, 88.01, 88.01, 88.01, 95.42, 95.42, 95.42, 95.42, 92.3, 92.3, 92.3, 92.3, 123.98, 123.98, 123.98, 123.98, 117.46, 117.46, 117.46, 117.46, 100.3, 100.3, 100.3, 100.3, 106.52, 106.52, 106.52, 106.52, 110.18, 110.18, 110.18, 110.18, 103.85, 103.85, 103.85, 103.85, 101.57, 101.57, 101.57, 101.57, 87.33, 87.33, 87.33, 87.33, 100.47, 100.47, 100.47, 100.47, 93.07, 93.07, 93.07, 93.07, 101.85, 101.85, 101.85, 101.85, 87.25, 87.25, 87.25, 87.25, 103.53, 103.53, 103.53, 103.53, 109.32, 109.32, 109.32, 109.32, 100.82, 100.82, 100.82, 100.82, 95.38, 95.38, 95.38, 95.38, 93.11, 93.11, 93.11, 93.11, 97.54, 97.54, 97.54, 97.54, 102.37, 102.37, 102.37, 102.37, 95.41, 95.41, 95.41, 95.41, 96.98, 96.98, 96.98, 96.98, 88.15, 88.15, 88.15, 88.15, 93.72, 93.72, 93.72, 93.72, 85.01, 85.01, 85.01, 85.01, 75.57, 75.57, 75.57, 75.57, 70.51, 70.51, 70.51, 70.51, 66.07, 66.07, 66.07, 66.07, 65.61, 65.61, 65.61, 65.61, 74.8, 74.8, 74.8, 74.8, 76.35, 76.35, 76.35, 76.35, 74.29, 74.29, 74.29, 74.29, 78.16, 78.16, 78.16, 78.16, 72.49, 72.49, 72.49, 72.49, 71.38, 71.38, 71.38, 71.38, 73.28, 73.28, 73.28, 73.28, 72.61, 72.61, 72.61, 72.61, 69.49, 69.49, 69.49, 69.49, 68.65, 68.65, 68.65, 68.65, 68.34, 68.34, 68.34, 68.34, 72.87, 72.87, 72.87, 72.87, 73.28, 73.28, 73.28, 73.28, 78.07, 78.07, 78.07, 78.07, 79.41, 79.41, 79.41, 79.41, 79.72, 79.72, 79.72, 79.72, 78.46, 78.46, 78.46, 78.46, 78.55, 78.55, 78.55, 78.55, 81.73, 81.73, 81.73, 81.73, 73.82, 73.82, 73.82, 73.82, 68.5, 68.5, 68.5, 68.5, 70.92, 70.92, 70.92, 70.92, 80.31, 80.31, 80.31, 80.31, 87.75, 87.75, 87.75, 87.75, 106.51, 106.51, 106.51, 106.51, 109.33, 109.33, 109.33, 109.33, 101.22, 101.22, 101.22, 101.22, 100.05, 100.05, 100.05, 100.05, 105.89, 105.89, 105.89, 105.89, 103.9, 103.9, 103.9, 103.9, 103.97, 103.97, 103.97, 103.97, 114.71, 115.07, 114.65, 113.85, 114.31, 114.69, 115.01, 115.62, 115.92, 115.12, 115.97, 115.54, 115.05, 114.18, 114.3, 113.79, 114.45, 114.45, 112.83, 113.67, 112.85, 112.53, 111.62, 111.8, 111.25, 111.53, 110.57, 110.46, 110.92, 109.92, 109.79, 109.65, 109.45, 109.25, 109.0, 109.51, 109.82, 109.45, 109.32, 108.73, 109.08, 109.42, 108.86, 109.12, 109.53, 109.11, 109.05, 109.85, 110.18, 108.95, 108.45, 109.26, 109.51, 108.08, 107.52, 106.68, 106.71, 106.5, 106.32, 106.39, 105.77, 104.95, 104.49, 105.22, 106.45, 105.67, 106.26, 106.95, 107.85, 107.76, 108.44, 109.56, 109.17, 109.53, 109.43, 110.19, 110.6, 110.19, 111.06, 110.09, 109.18, 106.97, 106.21, 105.08, 105.2, 104.06, 103.12, 102.51, 105.16, 106.06, 103.08, 103.45, 103.57, 106.28, 105.46, 105.58, 107.89, 110.02, 110.64, 113.33, 115.27, 117.35, 117.39, 118.39, 121.81, 121.39, 119.79, 118.82, 116.71, 113.84, 114.94, 112.37, 110.2, 110.19, 108.64, 106.87, 106.98, 106.8, 103.31, 103.31, 105.64, 106.04, 105.32, 104.56, 105.17, 105.63, 105.65, 105.44, 106.7, 106.98, 107.88, 108.28, 109.48, 112.78, 113.7, 114.64, 116.1, 118.36, 119.46, 119.46, 119.93, 123.12, 123.82, 123.32, 124.48, 125.79, 125.85, 124.89, 123.47, 123.39, 121.05, 116.29, 113.54, 115.07, 114.85, 113.08, 111.98, 112.61, 111.69, 109.7, 108.68, 109.09, 109.63, 108.44, 108.85, 110.22, 109.72, 108.44, 107.65, 108.63, 109.01, 107.67, 107.31, 108.01, 108.33, 106.73, 107.03, 108.55, 109.41, 109.22, 110.39, 113.09, 114.9, 115.25, 116.64, 118.65, 121.14, 121.62, 123.3, 126.08, 128.07, 129.06, 129.88, 132.58, 135.43, 136.13, 138.67, 141.5, 145.76, 147.61, 149.46, 151.96, 156.65, 160.08, 164.37, 169.29, 174.21, 177.78, 184.65, 188.98, 195.01, 195.35, 198.01, 196.18, 192.39, 192.29, 190.05, 184.45, 179.86, 170.09, 157.13, 151.07, 142.38, 133.97, 127.33, 130.0, 132.9, 130.93, 126.86, 132.01, 129.46, 124.56, 118.81, 121.04, 120.65, 115.84, 114.05, 120.37, 123.31, 121.58, 123.41, 130.97, 134.43, 134.02],
5+
"building": [51.36233983, 47.26616291, 52.04815502, 44.67333155, 57.2634338, 61.47033843, 60.06894543, 62.38489276, 61.4380382, 64.0446058, 49.42063381, 51.25232444, 50.5161651, 43.54354964, 47.08562106, 47.11098375, 51.76914843, 49.54470738, 50.12571412, 44.07166612, 37.98176672, 42.29755769, 42.25410832, 40.33646954, 34.47783935, 35.31752296, 47.29616865, 53.59430137, 42.64391738, 36.18271778, 40.27179997, 32.80518504, 34.43760958, 41.57111443, 40.36963713, 39.71851395, 38.806699, 39.90826985, 40.80371925, 41.93969439, 40.62221708, 39.67346769, 34.39721356, 43.07844416, 47.50403985, 45.83077321, 46.79908534, 52.19452665, 52.09138282, 52.83554543, 54.83643871, 56.18900573, 53.09349646, 50.87879093, 50.7115189, 50.41571181, 54.05276417, 54.66305279, 54.0249082, 55.07055159, 59.9171862, 59.2786986, 58.94343772, 60.8392201, 62.25447619, 65.95528267, 68.79148786, 69.24632104, 68.9257142, 70.95296772, 71.63614258, 71.568197, 72.59299982, 73.36701774, 74.36711732, 75.45724616, 76.74926786, 77.15051023, 79.39056457, 83.32303834, 83.04289525, 89.43618588, 95.74309566, 100.3045578, 97.09327155, 94.12250092, 96.23389798, 99.16550373, 100.56884, 100, 93.67720901, 90.5038767, 88.95277083, 91.52830102, 89.06159549, 86.30725178, 85.06563926, 85.80011747, 84.31285438, 81.66945023, 79.63498843, 76.74207454, 77.05381963, 78.88788054, 79.89887109, 77.7443098, 77.89285948, 79.39146429, 78.79060549, 78.98128131, 78.72200105, 76.6401607, 76.8135395, 76.31543516, 80.77302579, 82.79484772, 82.72701137, 83.19660676, 83.4461592, 84.80835495, 84.613931, 86.239088, 85.7096979, 86.05996591, 85.41248052],
6+
"population": [63.056, 64.361, 65.666, 66.97, 68.275, 69.58, 70.885, 72.189, 73.494, 74.799, 76.094, 77.584, 79.163, 80.632, 82.166, 83.822, 85.45, 87.008, 88.71, 90.49, 92.407, 93.863, 95.335, 97.225, 99.111, 100.546, 101.961, 103.268, 103.208, 104.514, 106.541, 108.538, 110.049, 111.947, 114.109, 115.829, 117.397, 119.035, 120.509, 121.878, 123.188, 124.149, 124.949, 125.69, 126.485, 127.362, 128.181, 128.961, 129.969, 131.028, 132.122, 133.402, 134.86, 136.739, 138.397, 139.928, 141.389, 144.126, 146.631, 149.188, 151.684, 154.287, 156.954, 159.565, 162.391, 165.275, 168.221, 171.274, 174.141, 177.13, 180.76, 183.742, 186.59, 189.3, 191.927, 194.347, 196.599, 198.752, 200.745, 202.736, 205.089, 207.692, 209.924, 211.939, 213.898, 215.981, 218.086, 220.289, 222.629, 225.106, 227.726, 230.008, 232.218, 234.333, 236.394, 238.506, 240.683, 242.843, 245.061, 247.387, 250.181, 253.53, 256.922, 260.282, 263.455, 266.588, 269.714, 272.958, 276.154, 279.328, 282.398, 285.225, 287.955, 290.626, 293.262, 295.993, 298.818, 301.696, 304.553, 307.24, 309.776, 312.036, 314.278, 316.524, 318.77],
7+
"longRate": [3.42, 3.62, 3.6, 3.75, 3.7, 3.46, 3.6, 3.4, 3.35, 3.1, 3.15, 3.1, 3.18, 3.3, 3.4, 3.48, 3.43, 3.67, 3.87, 3.76, 3.91, 3.98, 4.01, 4.45, 4.16, 4.24, 4.05, 4.23, 4.57, 4.5, 4.97, 5.09, 4.3, 4.36, 4.06, 3.86, 3.68, 3.34, 3.33, 3.6, 3.29, 3.34, 3.68, 3.31, 3.12, 2.79, 2.65, 2.68, 2.56, 2.36, 2.21, 1.95, 2.46, 2.47, 2.48, 2.37, 2.19, 2.25, 2.44, 2.31, 2.32, 2.57, 2.68, 2.83, 2.48, 2.61, 2.9, 3.46, 3.09, 4.02, 4.72, 3.84, 4.08, 3.83, 4.17, 4.19, 4.61, 4.58, 5.53, 6.04, 7.79, 6.24, 5.95, 6.46, 6.99, 7.5, 7.74, 7.21, 7.96, 9.1, 10.8, 12.57, 14.59, 10.46, 11.67, 11.38, 9.19, 7.08, 8.67, 9.09, 8.21, 8.09, 7.03, 6.6, 5.75, 7.78, 5.65, 6.58, 5.54, 4.72, 6.66, 5.16, 5.04, 4.05, 4.15, 4.22, 4.42, 4.76, 3.74, 2.52, 3.73, 3.39, 1.97, 1.91, 2.86]
8+
}

0 commit comments

Comments
 (0)