Skip to content

Instantly share code, notes, and snippets.

@enjalot
Created August 4, 2013 07:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjalot/6149542 to your computer and use it in GitHub Desktop.
Save enjalot/6149542 to your computer and use it in GitHub Desktop.
BART ridership
{
"rows":["RM","EN","EP","NB","BK","AS","MA",19,12,"LM","FV","CL","SL","BF","HY","SH","UC","FM","CN","PH","WC","LF","OR","RR","OW","EM","MT","PL","CC",16,24,"GP","BP","DC","CM","CV","ED","NC","WP","SS","SB","SO","MB","WD","Entries"],
"cols":["RM","EN","EP","NB","BK","AS","MA",19,12,"LM","FV","CL","SL","BF","HY","SH","UC","FM","CN","PH","WC","LF","OR","RR","OW","EM","MT","PL","CC",16,24,"GP","BP","DC","CM","CV","ED","NC","WP","SS","SB","SO","MB","WD","Exits"],
"data":[[7.434782608695652,130.2173913043478,104.95652173913044,84.34782608695652,393.30434782608694,105.52173913043478,177.17391304347825,151.17391304347825,176.8695652173913,52.26086956521739,110.30434782608695,95.91304347826087,44.04347826086956,34.391304347826086,36.78260869565217,19.434782608695652,20.652173913043477,42.95652173913044,31,16.782608695652176,28.82608695652174,15.130434782608695,10.173913043478262,22.391304347826086,32.69565217391305,257.60869565217394,268.2173913043478,378.1304347826087,270.4347826086956,141.7391304347826,139,35.78260869565217,59.69565217391305,50.30434782608695,17.434782608695652,9.304347826086957,18.17391304347826,7.695652173913044,43.69565217391305,11.391304347826088,18.565217391304348,35.130434782608695,26.304347826086957,8.173913043478262,3741.5217391304345],
[149.91304347826087,17.391304347826086,109.30434782608695,98.04347826086956,926.7826086956521,153.34782608695653,295.0869565217391,491.04347826086956,614.6521739130435,134.69565217391303,161.52173913043478,199.7826086956522,69.3913043478261,64.34782608695652,75.69565217391305,36.69565217391305,44.69565217391305,90.47826086956522,46.65217391304348,27.695652173913043,39.73913043478261,11.347826086956522,13.695652173913043,41.78260869565217,51.91304347826087,863,868.6521739130435,855.1304347826087,653.695652173913,173.2173913043478,165.43478260869566,62.21739130434783,114.43478260869566,112.30434782608695,24.391304347826086,9.782608695652174,35.95652173913044,9.304347826086957,46.95652173913044,28.26086956521739,41,79.95652173913044,54.56521739130435,16.652173913043477,8180.608695652172],
[114,94.95652173913044,9.652173913043478,65.73913043478261,660.3913043478261,96.08695652173913,140.6086956521739,255.7826086956522,277.60869565217394,76.3913043478261,69.82608695652173,98.56521739130434,23.52173913043478,18.695652173913043,25.782608695652176,8.652173913043478,16.695652173913043,46.130434782608695,27.695652173913043,14.26086956521739,33,11,10.956521739130435,34.30434782608695,19.782608695652176,509.5217391304348,590.0434782608696,405.82608695652175,345.9130434782609,88.52173913043478,59.95652173913044,26.869565217391305,43.56521739130435,37.95652173913044,6.478260869565218,7.826086956521739,19.608695652173914,4.173913043478261,14.130434782608695,7.869565217391305,7,58.69565217391305,29.304347826086957,7.434782608695652,4520.782608695651],
[88.26086956521739,84.91304347826087,62.47826086956522,13.782608695652174,183.2608695652174,63.52173913043478,95.65217391304348,202.6086956521739,257.8695652173913,60.391304347826086,76.91304347826087,93.6086956521739,33.04347826086956,21.652173913043477,20.304347826086957,9.391304347826088,17.82608695652174,33.21739130434783,15.434782608695652,20.17391304347826,30.73913043478261,12.478260869565217,10.434782608695652,23.08695652173913,20.956521739130434,680,705.304347826087,450.9130434782609,393.4347826086956,146.1304347826087,96.73913043478261,34.391304347826086,37.95652173913044,33.78260869565217,4.304347826086956,8.478260869565217,18.91304347826087,6.782608695652174,17.17391304347826,3.739130434782609,10.08695652173913,99.8695652173913,32.69565217391305,4.304347826086956,4336.999999999999],
[419.39130434782606,936.0434782608696,661.0434782608696,209.7826086956522,32.82608695652174,382.9130434782609,485.3478260869565,539.5652173913044,561.4782608695652,261.7391304347826,307,322.2173913043478,184.3913043478261,151.1304347826087,153.2173913043478,102.3913043478261,154.17391304347825,340.5217391304348,146.69565217391303,163.7391304347826,149.82608695652175,103.21739130434783,66.17391304347827,61.78260869565217,82.6086956521739,1044.9130434782608,957.1304347826087,1131.2173913043478,787.7391304347826,379.04347826086956,329.6521739130435,141.6086956521739,126.43478260869566,144,33.30434782608695,59.82608695652174,132.3913043478261,51.78260869565217,100.8695652173913,28.17391304347826,38.04347826086956,242.08695652173913,180.95652173913044,60.17391304347826,12948.565217391306],
[117.34782608695652,131.17391304347825,84.21739130434783,65.8695652173913,313.2173913043478,13,106.43478260869566,221.17391304347825,248.56521739130434,78.26086956521739,111.08695652173913,121.56521739130434,43.65217391304348,43.130434782608695,41.69565217391305,27.347826086956523,34.95652173913044,58.130434782608695,30.782608695652176,22.47826086956522,34.17391304347826,10.826086956521738,8.478260869565217,22.26086956521739,37.21739130434783,568.2608695652174,633.0434782608696,450.3478260869565,445.8695652173913,194.65217391304347,123.26086956521739,34.26086956521739,49.04347826086956,39.65217391304348,9,10.173913043478262,26.217391304347824,8.652173913043478,31.130434782608695,5.913043478260869,15.130434782608695,60,29.17391304347826,11.73913043478261,4772.565217391303],
[181,289.2173913043478,134.7826086956522,94.78260869565217,449.2173913043478,106.56521739130434,21.47826086956522,193.08695652173913,259,88.56521739130434,193.82608695652175,238.2608695652174,135.56521739130434,132.7391304347826,129.95652173913044,81.95652173913044,83.82608695652173,165.7826086956522,155.65217391304347,136.7826086956522,140.8695652173913,63.26086956521739,48.82608695652174,73.6086956521739,73.73913043478261,996.7391304347826,1059.8695652173913,896.2173913043479,790.7826086956521,347.3478260869565,229.65217391304347,83.56521739130434,95.17391304347827,96.21739130434783,35.391304347826086,33.91304347826087,81.78260869565217,50.30434782608695,226.47826086956522,23.043478260869566,30,114.08695652173913,60,22.217391304347824,8945.130434782606],
[163.82608695652175,497.0869565217391,246.17391304347825,216.43478260869566,492.7391304347826,219.52173913043478,185.52173913043478,16.52173913043478,57.65217391304348,43.17391304347826,155.04347826086956,224.52173913043478,234.91304347826087,209.17391304347825,206.52173913043478,179.43478260869566,174.8695652173913,387.3478260869565,294.1304347826087,335.60869565217394,264.04347826086956,159.1304347826087,94.34782608695652,166.52173913043478,72.56521739130434,912.9130434782609,954.695652173913,748.7391304347826,757.304347826087,317.04347826086956,254.17391304347825,140.7826086956522,129.7391304347826,141.6086956521739,67.8695652173913,77.04347826086956,200.91304347826087,147.56521739130434,263.30434782608694,65.6086956521739,53.73913043478261,67,102.6086956521739,88.30434782608695,10787.782608695652],
[189.2608695652174,603.6086956521739,273.30434782608694,266.95652173913044,488.30434782608694,257.5652173913044,242.43478260869566,52.65217391304348,23.08695652173913,47.95652173913044,224.08695652173913,363.5217391304348,339.4347826086956,338.9130434782609,298.3478260869565,192.91304347826087,243.30434782608697,398.04347826086956,319.8695652173913,342.5652173913044,312.4347826086956,174.52173913043478,127.04347826086956,183.34782608695653,89.04347826086956,1054.4782608695652,1004.7391304347826,953.4347826086956,818.3478260869565,294.1304347826087,270.69565217391306,163.8695652173913,175.6086956521739,165.56521739130434,112.04347826086956,107.47826086956522,236.91304347826087,144.95652173913044,283.30434782608694,73.30434782608695,76.73913043478261,117.52173913043478,140.30434782608697,105.91304347826087,12691.869565217388],
[51.30434782608695,126.04347826086956,78.91304347826087,64.26086956521739,242.56521739130434,78.78260869565217,85.34782608695652,42.08695652173913,46.78260869565217,14.347826086956522,167.17391304347825,265.7391304347826,269.5652173913044,266.1304347826087,177.30434782608697,118.69565217391305,122.04347826086956,175.69565217391303,43.56521739130435,26.304347826086957,33.04347826086956,17.52173913043478,12.565217391304348,37.34782608695652,46.65217391304348,674.7826086956521,714.6521739130435,629.7826086956521,477.30434782608694,193.65217391304347,125.34782608695652,55.08695652173913,83.78260869565217,83.43478260869566,8.956521739130435,114.52173913043478,183.8695652173913,15.91304347826087,53.26086956521739,9.869565217391305,14.391304347826088,32.56521739130435,24.608695652173914,68.21739130434783,6173.782608695652],
[109.26086956521739,154.8695652173913,70.04347826086956,76.69565217391305,297.1304347826087,116.26086956521739,194.95652173913044,165.65217391304347,236.3913043478261,166.3913043478261,16.434782608695652,328.9130434782609,253.7826086956522,278.3478260869565,264.5217391304348,114.21739130434783,89.1304347826087,162.1304347826087,52.95652173913044,38.69565217391305,54.69565217391305,28.130434782608695,30.130434782608695,54.130434782608695,132.3913043478261,794.304347826087,827.304347826087,857.0434782608696,666.8695652173913,244.6086956521739,172.47826086956522,57.391304347826086,115.69565217391305,85.6086956521739,17.17391304347826,66.1304347826087,145.17391304347825,13.304347826086957,64,10.91304347826087,21.217391304347824,62.65217391304348,27.217391304347824,54.17391304347826,7789.521739130434],
[108.43478260869566,203.1304347826087,97.26086956521739,98.52173913043478,310.7391304347826,131.43478260869566,257.8695652173913,267.2608695652174,410.4347826086956,252.2173913043478,330.4782608695652,21.695652173913043,205.08695652173913,276.4347826086956,252.6086956521739,144.95652173913044,164.43478260869566,312.6521739130435,123.34782608695652,114,125.6086956521739,68.52173913043478,42.608695652173914,88.69565217391305,114.43478260869566,655.0434782608696,531.3913043478261,648,450.9130434782609,144.34782608695653,132.43478260869566,67.26086956521739,80,94,21.782608695652176,121.21739130434783,369.95652173913044,50.08695652173913,154.6086956521739,24.869565217391305,31.91304347826087,57.69565217391305,47.43478260869565,150.69565217391303,8356.521739130436],
[46.34782608695652,76.04347826086956,27.043478260869566,37.08695652173913,178.82608695652175,46.08695652173913,148.7826086956522,244.6086956521739,332.95652173913044,281.9130434782609,260.69565217391306,207.8695652173913,11.91304347826087,123.56521739130434,166.95652173913044,79.69565217391305,78.04347826086956,141.95652173913044,36.34782608695652,29.08695652173913,27.565217391304348,11.26086956521739,12,24.217391304347824,41.26086956521739,669.5652173913044,605.2608695652174,527.0434782608696,412.5217391304348,104.91304347826087,77.04347826086956,33.26086956521739,67.17391304347827,66,11.434782608695652,51.04347826086956,102.65217391304348,9.91304347826087,48.34782608695652,13.956521739130435,16.043478260869566,35.73913043478261,21.043478260869566,39,5584.086956521741],
[37.69565217391305,61.65217391304348,17.565217391304348,23.26086956521739,147.1304347826087,41.52173913043478,131.2608695652174,218.95652173913044,340.4782608695652,254.95652173913044,265.7826086956522,279.4782608695652,127.8695652173913,10.26086956521739,188.17391304347825,133.95652173913044,134.1304347826087,255.04347826086956,31.391304347826086,14.782608695652174,19.17391304347826,5.217391304347826,5.6521739130434785,15.521739130434783,47.34782608695652,588.9565217391304,548.2608695652174,502.17391304347825,339.2173913043478,93.47826086956522,69.04347826086956,23.91304347826087,58.08695652173913,57.30434782608695,10,74,211.17391304347825,6.826086956521739,26.695652173913043,10.869565217391305,13.652173913043478,22.73913043478261,12.043478260869565,105.82608695652173,5582.521739130436],
[42.34782608695652,72.43478260869566,24.17391304347826,18.869565217391305,148.08695652173913,37.65217391304348,129.7391304347826,206.08695652173913,285.39130434782606,170.2608695652174,267.9130434782609,242.08695652173913,162.56521739130434,203.82608695652175,11.91304347826087,120.1304347826087,187.08695652173913,338.9130434782609,34.30434782608695,23.652173913043477,17.347826086956523,7.434782608695652,6.3478260869565215,17.82608695652174,34.65217391304348,431.69565217391306,396.9130434782609,336.82608695652175,270.82608695652175,75.08695652173913,48.73913043478261,27.26086956521739,43.47826086956522,39.52173913043478,6.913043478260869,32.34782608695652,90.1304347826087,7.956521739130435,46.34782608695652,8.652173913043478,16.47826086956522,18.91304347826087,8.956521739130435,40.21739130434783,4758.304347826087],
[21.565217391304348,34.869565217391305,9.347826086956522,10.391304347826088,99.52173913043478,28.652173913043477,70.95652173913044,174.7826086956522,185.56521739130434,102.3913043478261,113.08695652173913,135.91304347826087,84.04347826086956,128.30434782608697,116,8.91304347826087,64.52173913043478,171.17391304347825,18.26086956521739,14.956521739130435,17.869565217391305,4.434782608695652,2.5217391304347827,10.826086956521738,19.130434782608695,423.7391304347826,387.4782608695652,262.30434782608694,211,58.95652173913044,43.608695652173914,14.434782608695652,23.565217391304348,33.73913043478261,7.956521739130435,26.043478260869566,53.130434782608695,4.739130434782608,18.043478260869566,6,8.782608695652174,8.608695652173912,7.260869565217392,28.47826086956522,3275.869565217391],
[21.347826086956523,44.04347826086956,17.565217391304348,17.17391304347826,152.8695652173913,37.78260869565217,85.65217391304348,179.2608695652174,235,124.65217391304348,92.95652173913044,159.34782608695653,80.8695652173913,134.82608695652175,180.7826086956522,69.6086956521739,14,191.1304347826087,21.26086956521739,13.782608695652174,18.434782608695652,4.782608695652174,4.478260869565218,12.565217391304348,15.304347826086957,713.5217391304348,607.2608695652174,392.95652173913044,238.91304347826087,66.69565217391305,31.52173913043478,19.26086956521739,31.652173913043477,45.47826086956522,8.173913043478262,25.47826086956522,59.47826086956522,4.130434782608695,15.304347826086957,5.217391304347826,8.695652173913043,23.91304347826087,5.695652173913044,32.608695652173914,4265.434782608697],
[42.869565217391305,99.47826086956522,46.52173913043478,34.78260869565217,369.17391304347825,63.69565217391305,170.6086956521739,392.04347826086956,383.04347826086956,176.6086956521739,174.7391304347826,304.8695652173913,139.1304347826087,270.6521739130435,366.2173913043478,184.08695652173913,188.82608695652175,36.08695652173913,39.69565217391305,36.82608695652174,32.56521739130435,10.652173913043478,12.521739130434783,31.17391304347826,27.82608695652174,1524.0869565217392,1236.7391304347825,622.5217391304348,416.95652173913044,107.91304347826087,52.52173913043478,32.47826086956522,42.78260869565217,75.21739130434783,12.521739130434783,36.21739130434783,94.1304347826087,15.08695652173913,51.130434782608695,7.956521739130435,11.043478260869565,61.608695652173914,7.304347826086956,32.65217391304348,8075.565217391304],
[33.78260869565217,46.608695652173914,26.52173913043478,17.08695652173913,146.43478260869566,35.65217391304348,159.82608695652175,288.8695652173913,325.2608695652174,40.391304347826086,52.78260869565217,122.47826086956522,36.47826086956522,35.391304347826086,34.17391304347826,21.956521739130434,22.695652173913043,36.34782608695652,19.217391304347824,112.69565217391305,330.2608695652174,107.34782608695652,40.08695652173913,97.43478260869566,20.47826086956522,854.7826086956521,793.4347826086956,472.2173913043478,401.3478260869565,96.17391304347827,74.6086956521739,36.65217391304348,51.04347826086956,74.1304347826087,27.391304347826086,6.695652173913044,10.869565217391305,60.95652173913044,364.9130434782609,15.826086956521738,27.869565217391305,109.82608695652173,24.73913043478261,7.304347826086956,5721.043478260868],
[18.217391304347824,28.391304347826086,15.73913043478261,18.91304347826087,157.56521739130434,22.47826086956522,134.69565217391303,326.1304347826087,331.3478260869565,25.695652173913043,34.04347826086956,108.95652173913044,23.47826086956522,15.869565217391305,24.26086956521739,15.91304347826087,13.043478260869565,37.17391304347826,103.8695652173913,14.478260869565217,133.17391304347825,51.73913043478261,30.782608695652176,120.69565217391305,16.608695652173914,1472.5652173913043,1361.6521739130435,585.8695652173913,441.0869565217391,94.26086956521739,58.869565217391305,72.17391304347827,41.65217391304348,73.78260869565217,14.869565217391305,4.739130434782608,7.695652173913044,38.21739130434783,135.2173913043478,16.26086956521739,30.043478260869566,141.34782608695653,25.347826086956523,4.521739130434782,6443.434782608695],
[34.56521739130435,41.91304347826087,30.391304347826086,33.391304347826086,153.95652173913044,37.391304347826086,142.2608695652174,272.30434782608694,315.5652173913044,34.47826086956522,51.34782608695652,123.47826086956522,25.869565217391305,18.347826086956523,18.82608695652174,21.17391304347826,18.347826086956523,31.73913043478261,360.17391304347825,137.56521739130434,15.956521739130435,61.43478260869565,53.65217391304348,191.56521739130434,21.347826086956523,1317.2173913043478,1171.391304347826,560.5652173913044,366.2173913043478,94.08695652173913,62.43478260869565,48.65217391304348,41.78260869565217,71.26086956521739,27.347826086956523,8.73913043478261,9.043478260869565,78.65217391304348,261.3478260869565,18.782608695652176,24.26086956521739,166.1304347826087,34.82608695652174,2.782608695652174,6612.565217391304],
[14.565217391304348,10.826086956521738,11.130434782608695,12.434782608695652,98.52173913043478,12.26086956521739,61.91304347826087,161.30434782608697,174.3913043478261,14.91304347826087,25.434782608695652,66.52173913043478,12.217391304347826,5.043478260869565,7.3478260869565215,4.608695652173913,3.5217391304347827,10.217391304347826,136.17391304347825,62.391304347826086,67.30434782608695,11.391304347826088,16.869565217391305,86.43478260869566,4.608695652173913,930,812.5217391304348,307.5652173913044,238.7391304347826,51.34782608695652,25.91304347826087,21.304347826086957,12.608695652173912,21.73913043478261,5.217391304347826,1.5217391304347827,1.9565217391304348,18.565217391304348,50.78260869565217,5.695652173913044,9.565217391304348,86.69565217391305,11.695652173913043,2.217391304347826,3708.000000000001],
[10.73913043478261,16.695652173913043,10.695652173913043,9.826086956521738,74.26086956521739,12.217391304347826,50.30434782608695,96.78260869565217,130.7826086956522,10.565217391304348,28.782608695652176,43.130434782608695,11.652173913043478,4.565217391304348,6,2.347826086956522,4.217391304347826,12.521739130434783,50.47826086956522,34.17391304347826,55.52173913043478,18.73913043478261,12.91304347826087,79.56521739130434,2.782608695652174,794.1304347826087,629.7826086956521,249.65217391304347,190.56521739130434,39.73913043478261,25.82608695652174,21.565217391304348,18.565217391304348,19.782608695652176,4.304347826086956,2.260869565217391,2.739130434782609,6.913043478260869,20.91304347826087,6.304347826086956,5.869565217391305,67.1304347826087,9.565217391304348,0.9130434782608695,2906.782608695653],
[22.217391304347824,37.47826086956522,37.130434782608695,24.565217391304348,76.82608695652173,15.869565217391305,77.82608695652173,191.82608695652175,221.30434782608697,45.73913043478261,56.04347826086956,82.30434782608695,27.652173913043477,22.08695652173913,19.130434782608695,11.608695652173912,12.826086956521738,30.565217391304348,94.91304347826087,120.21739130434783,191.6086956521739,84.65217391304348,74.26086956521739,15.91304347826087,27.91304347826087,1106.4782608695652,1176.5217391304348,634.0869565217391,521.9565217391304,193.6086956521739,112.30434782608695,52.17391304347826,41.17391304347826,36.130434782608695,7.608695652173913,6.304347826086956,14.391304347826088,23.434782608695652,44.21739130434783,6.478260869565218,12.826086956521738,133.8695652173913,25.52173913043478,5.695652173913044,5777.260869565217],
[31.91304347826087,44.391304347826086,19.08695652173913,15.695652173913043,77,34.34782608695652,69.91304347826087,63.69565217391305,103.52173913043478,43.04347826086956,128.7826086956522,122.34782608695652,42.78260869565217,49.869565217391305,33.91304347826087,20,18.217391304347824,24.608695652173914,22.17391304347826,18.47826086956522,19.82608695652174,5.130434782608695,3.5652173913043477,27.565217391304348,9.608695652173912,1382.4347826086957,1107.4347826086957,798.6521739130435,567,208.7826086956522,138.95652173913044,42.69565217391305,71.82608695652173,43.21739130434783,11.521739130434783,7.3478260869565215,23.434782608695652,3.608695652173913,41.91304347826087,10.391304347826088,18.47826086956522,54.95652173913044,26.782608695652176,5.391304347826087,5614.304347826087],
[300.4782608695652,891.8260869565217,580.1739130434783,729.1739130434783,1237.3478260869565,714.0869565217391,1136.2173913043478,1171.8695652173913,1355.608695652174,783.304347826087,911.3913043478261,673.8695652173913,806.5652173913044,704.7826086956521,512.7826086956521,504.95652173913044,828.2173913043479,1694.0869565217392,1014.4782608695652,1779.2173913043478,1566.4782608695652,1022.3478260869565,848.695652173913,1146.9130434782608,1547.2173913043478,142.56521739130434,120.52173913043478,538.4347826086956,515.7826086956521,1068.4347826086957,1666.7391304347825,1236.7826086956522,1556.7391304347825,1253.8695652173913,775.1739130434783,559.304347826087,1909.8695652173913,535.5652173913044,769.3913043478261,577.1304347826087,541.7391304347826,601.5652173913044,1003.7826086956521,726.1739130434783,40561.65217391305],
[300.2173913043478,825.0869565217391,579.5652173913044,621,949.8695652173913,681.304347826087,1053.9130434782608,978.3478260869565,1012.6086956521739,724.6086956521739,859.2173913043479,509.7826086956522,632.4347826086956,590.7391304347826,432.0869565217391,409.30434782608694,639.2173913043479,1274.2608695652175,790.1304347826087,1369.4782608695652,1096.2173913043478,736.0434782608696,581.6521739130435,1020.9565217391304,1167.6521739130435,136.30434782608697,124.17391304347827,186.2608695652174,462.8695652173913,1378.4347826086957,2197.9565217391305,1713.608695652174,2660.8695652173915,1624.9130434782608,935.2608695652174,451.3478260869565,1229.9130434782608,401.1304347826087,636.4347826086956,718.7391304347826,597.2608695652174,606.5652173913044,1251.1739130434783,488.4347826086956,37637.34782608697],
[320.7826086956522,649.304347826087,321,351.6521739130435,1014.695652173913,388.2608695652174,747.695652173913,692.304347826087,828.7826086956521,514.7391304347826,704.9130434782609,589.7391304347826,417.04347826086956,395.1304347826087,272.4347826086956,223.56521739130434,310.1304347826087,540.9130434782609,383.1304347826087,470.9130434782609,458.1304347826087,251.08695652173913,199.91304347826087,470.5652173913044,719.3478260869565,740.9565217391304,305.60869565217394,128.52173913043478,397.2608695652174,1533.391304347826,1874.695652173913,1228.2608695652175,2591.304347826087,1251.9565217391305,650.4782608695652,214.7391304347826,615.9565217391304,213.1304347826087,421.4347826086956,438.82608695652175,421.04347826086956,1718.8695652173913,722.4782608695652,250,27955.086956521736],
[226.82608695652175,522,289.4782608695652,312.4782608695652,628.4782608695652,402.17391304347825,676.8260869565217,601.7391304347826,623.3913043478261,378.7391304347826,608.0869565217391,372.7826086956522,348.5217391304348,309.9130434782609,249.17391304347825,194.30434782608697,224.43478260869566,387.60869565217394,336.4347826086956,392.4782608695652,293.95652173913044,206.52173913043478,160.08695652173913,417.4782608695652,540.4347826086956,480.4347826086956,438.5217391304348,354.17391304347825,79.26086956521739,813.6521739130435,1165.4347826086957,742.0434782608696,1552.2608695652175,703.2173913043479,470.8695652173913,187.30434782608697,443.69565217391306,191.30434782608697,415.0869565217391,343.39130434782606,312.8695652173913,669.6086956521739,474.3478260869565,158.3913043478261,19700.217391304355],
[122,135.82608695652175,77.8695652173913,140.65217391304347,364.2173913043478,189.1304347826087,329.3478260869565,325.60869565217394,284.8695652173913,170.08695652173913,223.7391304347826,133.3913043478261,97,89.91304347826087,70.95652173913044,57.52173913043478,58.91304347826087,106,89.65217391304348,86.56521739130434,89.52173913043478,43.21739130434783,36.08695652173913,176.52173913043478,200.2608695652174,1081,1331.2173913043478,1800.5217391304348,889.6521739130435,33.869565217391305,403.17391304347825,404.4347826086956,779.5217391304348,275.4347826086956,163.82608695652175,45.52173913043478,119.65217391304348,43.73913043478261,113.95652173913044,105.82608695652173,142.8695652173913,254.82608695652175,248.7391304347826,40.69565217391305,11977.347826086958],
[111.78260869565217,133.91304347826087,56.17391304347826,82.30434782608695,303.4347826086956,122.08695652173913,221.7826086956522,246.04347826086956,248.3913043478261,112.8695652173913,165.56521739130434,123.6086956521739,71.17391304347827,69.26086956521739,51.21739130434783,39.78260869565217,29.26086956521739,47.56521739130435,67.91304347826087,52.52173913043478,54.65217391304348,27.217391304347824,23.08695652173913,106.26086956521739,142.3913043478261,1429,1811.4347826086957,2185.521739130435,1176.7826086956522,406.5652173913044,41.91304347826087,310.0869565217391,821.9565217391304,275.8695652173913,163.17391304347825,20.043478260869566,69.52173913043478,26.347826086956523,88.6086956521739,100.3913043478261,147.65217391304347,220.34782608695653,233.3913043478261,29.47826086956522,12268.347826086958],
[36.56521739130435,50.869565217391305,25.17391304347826,34.17391304347826,133.2608695652174,37.65217391304348,76.26086956521739,138.43478260869566,150.6086956521739,52,52.65217391304348,61.65217391304348,30.91304347826087,22.17391304347826,22.217391304347824,13.391304347826088,16.956521739130434,31.26086956521739,33.69565217391305,50.91304347826087,47.391304347826086,17.043478260869566,20.304347826086957,45.30434782608695,45.43478260869565,1113.1739130434783,1352.7391304347825,1435,692.4347826086956,389.04347826086956,327.1304347826087,25.08695652173913,156.08695652173913,67.1304347826087,57.17391304347826,12,53,11.826086956521738,43.69565217391305,32.78260869565217,83.78260869565217,107.91304347826087,138.91304347826087,16.52173913043478,7361.739130434784],
[63.91304347826087,113,40.43478260869565,37.30434782608695,114,51.17391304347826,88.08695652173913,124,155.17391304347825,77.52173913043478,105.65217391304348,79.08695652173913,68.26086956521739,57.73913043478261,39.78260869565217,27.08695652173913,26.652173913043477,42.08695652173913,48.56521739130435,42.69565217391305,37.82608695652174,12.347826086956522,15.391304347826088,36.34782608695652,80.21739130434783,1364.6521739130435,1656.695652173913,3133,1437.391304347826,735.9565217391304,830.8260869565217,158.52173913043478,65,162.56521739130434,151.91304347826087,17.434782608695652,61.82608695652174,20.47826086956522,72.6086956521739,102.69565217391305,156.17391304347825,106.69565217391305,174.69565217391303,19.434782608695652,12012.913043478264],
[48.04347826086956,110.43478260869566,36.130434782608695,34.56521739130435,133.30434782608697,44.43478260869565,95.82608695652173,138.1304347826087,159.82608695652175,82.8695652173913,95.30434782608695,98.52173913043478,71.34782608695652,59.04347826086956,43.04347826086956,36.34782608695652,44.73913043478261,73.56521739130434,71.95652173913044,73.17391304347827,66.1304347826087,21.73913043478261,19.434782608695652,32.08695652173913,52.608695652173914,1193.9130434782608,1438.1739130434783,1492.695652173913,728.9565217391304,283.4782608695652,303.2608695652174,72.69565217391305,188.2608695652174,23.304347826086957,61.73913043478261,27.26086956521739,114.34782608695652,30.782608695652176,77.52173913043478,67.82608695652173,157.47826086956522,186.82608695652175,250.47826086956522,32.56521739130435,8474.173913043478],
[15.434782608695652,23.91304347826087,6.565217391304348,4.608695652173913,35.30434782608695,5.913043478260869,35.130434782608695,69.3913043478261,100.43478260869566,10.652173913043478,13.652173913043478,22.608695652173914,10.73913043478261,8.434782608695652,6.043478260869565,7.478260869565218,8.565217391304348,9.043478260869565,25.391304347826086,14.782608695652174,26.043478260869566,7.086956521739131,5.173913043478261,8.608695652173912,15.652173913043478,771.0869565217391,816.695652173913,754.2173913043479,471.7826086956522,152.08695652173913,162.65217391304347,62.869565217391305,157.2608695652174,53.869565217391305,10.08695652173913,1.391304347826087,26.565217391304348,8.869565217391305,23.26086956521739,19.17391304347826,75.69565217391305,91.91304347826087,102.21739130434783,3.217391304347826,4261.565217391306],
[7.565217391304348,9.391304347826088,8.130434782608695,9.217391304347826,60.30434782608695,11.73913043478261,30.695652173913043,82.8695652173913,105.21739130434783,111.73913043478261,66.78260869565217,111.21739130434783,49.130434782608695,83.52173913043478,77.65217391304348,25.347826086956523,21.08695652173913,34.91304347826087,9,4.6521739130434785,6.739130434782608,1.6521739130434783,1.608695652173913,7.304347826086956,8.565217391304348,491.30434782608694,424.95652173913044,261.4782608695652,206.2608695652174,48,22.130434782608695,13.826086956521738,18.695652173913043,28.73913043478261,2.0434782608695654,8.869565217391305,124.91304347826087,1.5217391304347827,5.565217391304348,3.9565217391304346,6.956521739130435,18.956521739130434,7.608695652173913,101.30434782608695,2743.1304347826094],
[18.217391304347824,38.391304347826086,20.391304347826086,17.91304347826087,140.2173913043478,25.695652173913043,78.04347826086956,195.82608695652175,225.08695652173913,185.95652173913044,146.6086956521739,362.2173913043478,101.30434782608695,214.30434782608697,87.95652173913044,47.43478260869565,59.391304347826086,100.17391304347827,11.130434782608695,7.608695652173913,8.478260869565217,3.3043478260869565,2.8260869565217392,14.173913043478262,21.782608695652176,1661.2608695652175,1221.3478260869565,686.2608695652174,496.9130434782609,117.52173913043478,74.04347826086956,55.47826086956522,64.91304347826087,114.82608695652173,28.82608695652174,138.82608695652175,27.73913043478261,2.0869565217391304,10.217391304347826,19.043478260869566,15.347826086956522,133.43478260869566,17.17391304347826,34.73913043478261,7054.434782608699],
[8.434782608695652,10.043478260869565,4.565217391304348,5.739130434782608,49.69565217391305,9.173913043478262,52.130434782608695,140.2608695652174,142.56521739130434,13.652173913043478,13.565217391304348,46.78260869565217,9.347826086956522,6.913043478260869,8.391304347826088,4.913043478260869,4.739130434782608,12.608695652173912,57.21739130434783,41.30434782608695,72.04347826086956,15.782608695652174,7.434782608695652,27.608695652173914,3.6956521739130435,452.4782608695652,403.3478260869565,236.69565217391303,209.65217391304347,46.26086956521739,27.08695652173913,11.391304347826088,23.391304347826086,29.695652173913043,9.217391304347826,1.9130434782608696,2,6.478260869565218,71.3913043478261,6.956521739130435,4.695652173913044,45.47826086956522,10.91304347826087,0.8695652173913043,2368.5217391304345],
[42.26086956521739,47.91304347826087,14.695652173913043,19.08695652173913,97.3913043478261,33.17391304347826,233.6086956521739,259.6521739130435,290.17391304347825,47.91304347826087,67.52173913043478,145.6086956521739,44.04347826086956,29.347826086956523,42.47826086956522,19.956521739130434,17.869565217391305,46.69565217391305,368.6521739130435,146.34782608695653,265.95652173913044,47.73913043478261,22.608695652173914,52.869565217391305,41.34782608695652,633.4782608695652,595.9130434782609,515.0869565217391,493.2173913043478,121.26086956521739,104.65217391304348,51.391304347826086,75.04347826086956,77.17391304347827,25.304347826086957,5.217391304347826,12.608695652173912,75.78260869565217,14.91304347826087,21.26086956521739,40.21739130434783,103.82608695652173,33.21739130434783,7.739130434782608,5452.217391304348],
[10.565217391304348,25.304347826086957,7.478260869565218,4.565217391304348,30,5.521739130434782,23.304347826086957,59.65217391304348,74.95652173913044,9.521739130434783,10.26086956521739,23.17391304347826,15.130434782608695,8.869565217391305,8.826086956521738,4.739130434782608,6.6521739130434785,9.347826086956522,17.565217391304348,16.391304347826086,19.130434782608695,5.956521739130435,5.217391304347826,7.304347826086956,9.73913043478261,552.9130434782609,654.3478260869565,502.95652173913044,344.39130434782606,101.91304347826087,103.21739130434783,42.391304347826086,110.1304347826087,64.21739130434783,20.82608695652174,3.4347826086956523,19.347826086956523,6.478260869565218,19.26086956521739,9.652173913043478,44.30434782608695,40.43478260869565,59.08695652173913,3.0434782608695654,3121.521739130434],
[17.782608695652176,38,7.521739130434782,12.826086956521738,40.130434782608695,16.52173913043478,31,52.91304347826087,79.08695652173913,17.043478260869566,20.82608695652174,32.47826086956522,13.608695652173912,14.608695652173912,14.304347826086957,7.434782608695652,9.043478260869565,13.608695652173912,25.52173913043478,28.304347826086957,25.869565217391305,9.91304347826087,5.521739130434782,11.173913043478262,20.869565217391305,534.5217391304348,567.1304347826087,478.5217391304348,346.3478260869565,142.1304347826087,154,87.65217391304348,179,171.65217391304347,80.69565217391305,6.956521739130435,14.782608695652174,5.565217391304348,39.56521739130435,46.56521739130435,11.304347826086957,60.69565217391305,71,5.043478260869565,3569.0434782608695],
[35.608695652173914,79.34782608695652,59.91304347826087,98.52173913043478,229.1304347826087,65.73913043478261,122.73913043478261,86.34782608695652,115.95652173913044,38,57,51.34782608695652,35,24.304347826086957,17.608695652173914,10.695652173913043,21.391304347826086,53.130434782608695,108.8695652173913,149.7391304347826,169.91304347826087,88.08695652173913,68.65217391304348,136.2173913043478,72.78260869565217,589.8695652173913,605.4347826086956,1472.8260869565217,670.7826086956521,261.5652173913044,242.69565217391303,125.1304347826087,118.56521739130434,186.65217391304347,103.26086956521739,20.652173913043477,123.73913043478261,48.869565217391305,103.43478260869566,48,65.21739130434783,60,407.8695652173913,35,7285.608695652172],
[30.47826086956522,53.34782608695652,29.82608695652174,31.91304347826087,178.95652173913044,31.17391304347826,56.56521739130435,99.26086956521739,128.2173913043478,27.695652173913043,31.434782608695652,44.130434782608695,19.91304347826087,11.304347826086957,6.869565217391305,4.521739130434782,4.913043478260869,7.478260869565218,23.17391304347826,24.91304347826087,33.56521739130435,11.91304347826087,8.782608695652174,24.434782608695652,27.608695652173914,942.9565217391304,1133.608695652174,766.8260869565217,466.7391304347826,239.1304347826087,233.47826086956522,139.52173913043478,187.47826086956522,257.60869565217394,114.52173913043478,7.217391304347826,17.391304347826086,10.043478260869565,32.130434782608695,57.91304347826087,69.82608695652173,344.3478260869565,28.91304347826087,4.565217391304348,6006.608695652175],
[8.956521739130435,17.82608695652174,7.6521739130434785,3.652173913043478,63.95652173913044,12.304347826086957,26.391304347826086,92.91304347826087,105.6086956521739,66.52173913043478,60,153.91304347826087,43.391304347826086,106.52173913043478,44.869565217391305,30.304347826086957,32.82608695652174,33.21739130434783,9.347826086956522,4.478260869565218,3.1739130434782608,2.3043478260869565,1.434782608695652,5.3478260869565215,6.173913043478261,654.5217391304348,501.9130434782609,293.0869565217391,176,40.82608695652174,31.130434782608695,22.82608695652174,19.82608695652174,32.47826086956522,3.9565217391304346,91.73913043478261,31.695652173913043,1.0434782608695652,7.782608695652174,2.4347826086956523,4.478260869565218,36.78260869565217,6.043478260869565,10.652173913043478,2912.304347826085],
[3803.521739130434,7659.217391304349,4397.782608695651,4180.043478260869,12474.347826086954,4997.391304347827,8837.217391304346,10970.826086956522,12721.565217391304,6027.434782608696,7690.260869565216,8009.000000000001,5507.782608695655,5664.521739130437,4865.130434782608,3399.1739130434785,4291.086956521739,8048.13043478261,5747.869565217391,6648.652173913043,6534.826086956522,3590.608695652174,2784.9999999999995,5288.04347826087,5786.652173913043,36187.13043478261,35453.478260869575,31879.304347826084,21737.434782608696,11863,12886.434782608696,7852.913043478261,12982.826086956524,8396.913043478262,4341.739130434782,2729.608695652174,7169.260869565218,2430.5652173913036,5390.347826086955,3147.913043478261,3460.3478260869565,7367.826086956524,6218,2873.4782608695655,384294.60869565216]]
}
d3.chart = d3.chart || {};
d3.chart.chord = function(container) {
var self = {};
var rows = []
var chord = d3.layout.chord()
.padding(.05)
.sortSubgroups(d3.descending)
var offset = 236;
var w = tributary.sw - offset,
h = tributary.sh - offset,
r0 = Math.min(w, h) * .37,
r1 = r0 * 1.144;
var format = d3.format("3n")
var fill = d3.scale.category20c();
self.update = function(data) {
chord.matrix(data);
self.render();
};
self.clear = function() {
d3.select(container).selectAll('svg').remove();
};
self.render = function() {
self.clear();
var svg = d3.select(container)
.append("svg")
.attr("width", "100%")
.attr("height", "100%")
.append("g")
.attr("transform", "translate(" + (offset + w) / 2 + "," + (offset + h) / 2 + ")");
svg.append("g")
.selectAll("path")
.data(chord.groups)
.enter().append("path")
.style("fill", function(d) { return fill(d.index); })
.style("stroke", function(d) { return fill(d.index); })
.attr("d", d3.svg.arc().innerRadius(r0).outerRadius(r1))
.on("mouseover", function(d,i) {
console.log(d,i)
fade(.1, svg)(d,i)
})
.on("mouseout", fade(1, svg));
var ticks = svg.append("g")
.selectAll("g")
.data(chord.groups)
.enter().append("g")
.attr("transform", function(d) {
var rot = (d.startAngle + (d.endAngle - d.startAngle)/2) * 180 / Math.PI - 90
//var rot = d.endAngle * 180 / Math.PI - 90
//console.log(rot, d)
var str = "rotate(" + ( rot) + ")"
d.rot = rot;
if(rot > 90) {
str += "rotate(" + 180 + ")";
str += "translate(" + (-r1 - 16) + ",0)";
d3.select(this).classed("backwards", true);
} else {
str += "translate(" + r1 + ",0)";
}
return str
})
.append("text")
.attr("x", 8)
.attr("dy", ".35em")
ticks
.append("tspan")
.text(function(d,i) {
if(d.rot < 90) {
return rows[d.index]
} else {
d3.select(this).classed("number", true)
return format(Math.round(d.value))
}
})
ticks
.append("tspan")
.attr("dx", 5)
.text(function(d,i) {
if(d.rot > 90) {
return rows[d.index]
} else {
d3.select(this).classed("number", true)
return format(Math.round(d.value))
}
})
/*
.selectAll("g")
.data(groupTicks)
.enter().append("g")
.attr("transform", function(d) {
return "rotate(" + (d.angle * 180 / Math.PI - 90) + ")"
+ "translate(" + r1 + ",0)";
});
ticks.append("line")
.attr("x1", 1)
.attr("y1", 0)
.attr("x2", 5)
.attr("y2", 0)
.style("stroke", "#000");
ticks.append("text")
.attr("x", 8)
.attr("dy", ".35em")
.attr("text-anchor", function(d) {
return d.angle > Math.PI ? "end" : null;
})
.attr("transform", function(d) {
return d.angle > Math.PI ? "rotate(180)translate(-16)" : null;
})
.text(function(d) { return d.label; });
*/
svg.append("g")
.attr("class", "chord")
.selectAll("path")
.data(chord.chords)
.enter().append("path")
.style("fill", function(d) { return fill(d.target.index); })
.attr("d", d3.svg.chord().radius(r0))
.style("opacity", 1);
};
self.rows = function(_) {
if(!arguments.length) return rows;
rows = _;
return self;
}
return self;
};
/* Utility functions */
/** Returns an array of tick angles and labels, given a group. */
function groupTicks(d) {
var k = (d.endAngle - d.startAngle) / d.value;
return d3.range(0, d.value, 20).map(function(v, i) {
return {
angle: v * k + d.startAngle,
label: i % 5 ? null : v
};
});
}
/** Returns an event handler for fading a given chord group. */
function fade(opacity, svg) {
return function(g, i) {
svg.selectAll("g.chord path")
.filter(function(d) {
return d.source.index != i && d.target.index != i;
})
//.transition()
.style("opacity", opacity);
};
}
{"description":"BART ridership","endpoint":"","display":"div","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"august2012.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"stations.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12},"chord.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"style.css":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"thumbnail":"http://i.imgur.com/eSrIeaf.jpg"}
//chord chart from @syntagmatic http://exposedata.com/tutorial/chord/
//data from BART ridership http://www.bart.gov/about/reports/ridership.aspx
//part of BART strike visualization: https://github.com/enjalot/bart
//row: # of exits at station
//column: # of entries at station
//each chord shows trip frequency between 2 stations
/*
The value at each station is the # of exits for an average weekday in August 2012
(where people get off)
*/
var stations = tributary.stations;
//weekday OD (average daily ridership in the month of august)
var ridership = tributary.august2012;
console.log(ridership)
var rows = ridership.rows.map(function(code) {
for(var i = 0; i < stations.length; i++) {
if(stations[i].code === code+"") return stations[i].name;
}
})
var data = ridership.data
data = data.slice(0, data.length-1);
data = data.map(function(row) {
return row.slice(0, row.length-1);
});
//console.log("rows", data.length, "cols", data[0].length)
console.log(d3.sum(data[0]))
var display = d3.select("#display")
display.append("div").attr("id", "chart");
var chord = d3.chart.chord("#chart");
chord.rows(rows)
chord.update(data);
[
{
"code": "RM",
"name": "Richmond",
"x": 337.2519027299527,
"y": 97.24952566866301,
"nameX": -53,
"nameY": -17,
"routes": [
"orange",
"red"
]
},
{
"code": "EN",
"name": "El Cerrito Del Norte",
"x": 378.7681505397055,
"y": 96.61348564588465,
"nameX": -2,
"nameY": -16,
"routes": [
"orange",
"red"
]
},
{
"code": "EP",
"name": "El Cerrito Plaza",
"x": 406.7192649880145,
"y": 109.35490167293699,
"nameX": -99,
"nameY": 7,
"routes": [
"orange",
"red"
]
},
{
"code": "NB",
"name": "North Berkeley",
"x": 409.03110342553816,
"y": 129.85777184832375,
"nameX": -96,
"nameY": 4,
"routes": [
"orange",
"red"
]
},
{
"code": "BK",
"name": "Berkeley",
"x": 409.4475327723846,
"y": 147.93217596529985,
"nameX": -59,
"nameY": 2,
"routes": [
"orange",
"red"
]
},
{
"code": "AS",
"name": "Ashby",
"x": 407.04815876570535,
"y": 169.29698920819445,
"nameX": -51,
"nameY": 3,
"routes": [
"orange",
"red"
]
},
{
"code": "MA",
"name": "MacArthur",
"x": 407.35532210963777,
"y": 191.98105409529992,
"nameX": -70,
"nameY": 2,
"routes": [
"orange",
"red",
"yellow"
]
},
{
"code": "19",
"name": "19th St Oakland",
"x": 406.4762217817083,
"y": 211.281455807928,
"nameX": 10,
"nameY": 3,
"routes": [
"orange",
"red",
"yellow"
]
},
{
"code": "12",
"name": "12th St / Oakland City Center",
"x": 406.72745221162216,
"y": 231.4813762536133,
"nameX": 10,
"nameY": 4,
"routes": [
"orange",
"red",
"yellow"
]
},
{
"code": "LM",
"name": "Lake Merritt",
"x": 424.1784636294283,
"y": 278.6640022135573,
"nameX": 15,
"nameY": 5,
"routes": [
"orange",
"green",
"blue"
]
},
{
"code": "FV",
"name": "Fruitvale",
"x": 448.22722799262965,
"y": 306.6533642988233,
"nameX": 18,
"nameY": 3,
"routes": [
"orange",
"green",
"blue"
]
},
{
"code": "CL",
"name": "Coliseum / Oakland Airport",
"x": 471.8996493296977,
"y": 335.59136392283256,
"nameX": 12,
"nameY": -5,
"routes": [
"orange",
"green",
"blue"
]
},
{
"code": "SL",
"name": "San Leandro",
"x": 495.4028909328207,
"y": 358.8716192563297,
"nameX": 16,
"nameY": 1,
"routes": [
"orange",
"green",
"blue"
]
},
{
"code": "BF",
"name": "Bayfair",
"x": 512.6943613496702,
"y": 380.86474627215415,
"nameX": 19,
"nameY": 0,
"routes": [
"orange",
"green",
"blue"
]
},
{
"code": "HY",
"name": "Hayward",
"x": 541.1807193209604,
"y": 411.7951991516957,
"nameX": -63,
"nameY": 8,
"routes": [
"orange",
"green"
]
},
{
"code": "SH",
"name": "South Hayward",
"x": 577.610563062653,
"y": 445.74010956377725,
"nameX": -102,
"nameY": 13,
"routes": [
"orange",
"green"
]
},
{
"code": "UC",
"name": "Union City",
"x": 632.3352013461757,
"y": 499.1954842959484,
"nameX": -75,
"nameY": 10,
"routes": [
"orange",
"green"
]
},
{
"code": "FM",
"name": "Fremont",
"x": 671.2401071316656,
"y": 541.0354696054292,
"nameX": 20,
"nameY": 4,
"routes": [
"orange",
"green"
]
},
{
"code": "CN",
"name": "Concord",
"x": 557.924535712367,
"y": 79.22608115762478,
"nameX": 16,
"nameY": 7,
"routes": [
"yellow"
]
},
{
"code": "PH",
"name": "Pleasant Hill",
"x": 535.3732558397669,
"y": 98.47572374612093,
"nameX": 16,
"nameY": 3,
"routes": [
"yellow"
]
},
{
"code": "WC",
"name": "Walnut Creek",
"x": 517.3768656339869,
"y": 115.95939369412139,
"nameX": 14,
"nameY": 7,
"routes": [
"yellow"
]
},
{
"code": "LF",
"name": "Lafayette",
"x": 495.41654099955224,
"y": 140.1603028003825,
"nameX": 13,
"nameY": 6,
"routes": [
"yellow"
]
},
{
"code": "OR",
"name": "Orinda",
"x": 475.8728397351224,
"y": 159.32197172119288,
"nameX": 13,
"nameY": 12,
"routes": [
"yellow"
]
},
{
"code": "RR",
"name": "Rockridge",
"x": 445.36074513683093,
"y": 165.3618431656249,
"nameX": -20,
"nameY": -18,
"routes": [
"yellow"
]
},
{
"code": "OW",
"name": "West Oakland",
"x": 352.1908433724288,
"y": 236.84746471214112,
"nameX": -70,
"nameY": -13,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "EM",
"name": "Embarcadero",
"x": 242.86626160625372,
"y": 248.8465810839366,
"nameX": -79,
"nameY": -8,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "MT",
"name": "Montgomery Street",
"x": 222.53345882618805,
"y": 266.8065262252371,
"nameX": -117,
"nameY": -6,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "PL",
"name": "Powell Street",
"x": 205.01421027183534,
"y": 284.4042817873834,
"nameX": -91,
"nameY": 2,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "CC",
"name": "Civic Center",
"x": 189.4310487190727,
"y": 303.76649480127264,
"nameX": -85,
"nameY": 4,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "16",
"name": "16th St Mission",
"x": 188.67462086226791,
"y": 327.0067256691307,
"nameX": -119,
"nameY": 4,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "24",
"name": "24th St Mission",
"x": 184.64212326612324,
"y": 347.66754772265904,
"nameX": -120,
"nameY": 4,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "GP",
"name": "Glen Park",
"x": 169.1385176723171,
"y": 363.5643937920547,
"nameX": 13,
"nameY": 8,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "BP",
"name": "Balboa Park",
"x": 158.79430814798923,
"y": 379.53695317035545,
"nameX": -82,
"nameY": -6,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "DC",
"name": "Daly City",
"x": 155.3311665538605,
"y": 398.1604901606404,
"nameX": -62,
"nameY": 4,
"routes": [
"red",
"yellow",
"blue",
"green"
]
},
{
"code": "CM",
"name": "Colma",
"x": 160.98419984665702,
"y": 425.4218602246791,
"nameX": 16,
"nameY": 2,
"routes": [
"red",
"yellow",
"blue"
]
},
{
"code": "CV",
"name": "Castro Valley",
"x": 577.5645999231376,
"y": 395.7569965145458,
"nameX": 4,
"nameY": -14,
"routes": [
"blue"
]
},
{
"code": "ED",
"name": "Dublin / Pleasanton",
"x": 644.9518940068036,
"y": 397.96949249867816,
"nameX": 14,
"nameY": 3,
"routes": [
"blue"
]
},
{
"code": "NC",
"name": "North Concord / Martinez",
"x": 576.5643980837334,
"y": 61.740233782883735,
"nameX": 16,
"nameY": 3,
"routes": [
"yellow"
]
},
{
"code": "WP",
"name": "Pittsburg / Baypoint",
"x": 596.3787407822348,
"y": 40.58420126937335,
"nameX": 17,
"nameY": 3,
"routes": [
"yellow"
]
},
{
"code": "SS",
"name": "South San Francisco",
"x": 177.56221861569213,
"y": 446.7829217383964,
"nameX": 16,
"nameY": 3,
"routes": [
"red",
"yellow",
"blue"
]
},
{
"code": "SB",
"name": "San Bruno",
"x": 202.6848707394954,
"y": 469.8093068131293,
"nameX": -72,
"nameY": 13,
"routes": [
"red",
"yellow",
"blue"
]
},
{
"code": "MB",
"name": "Millbrae",
"x": 221.54718851863413,
"y": 497.68394520164,
"nameX": -57,
"nameY": 14,
"routes": [
"red",
"yellow",
"blue"
]
},
{
"code": "SO",
"name": "SFO Airport",
"x": 262.39984044084326,
"y": 470.4198474137625,
"nameX": 0,
"nameY": 24,
"routes": [
"red",
"yellow",
"blue"
]
},
{
"code": "WD",
"name": "West Dublin / Pleasanton",
"x": 614.27280872887,
"y": 398.3866290775128,
"nameX": 2,
"nameY": 22,
"routes": [
"blue"
]
}
]
.chord path {
fill-opacity: .67;
stroke: #000;
stroke-width: 0.5px;
stroke-opacity: 0.1;
}
#chart text {
font-size: 10px;
}
.number {
font-weight: 700;
}
.backwards {
text-anchor: end;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment