Experimenting with a rainbow color scale that is cylical but has better perceptual properties. The HCL rainbow has roughly-constant luminance, but is ugly. The cubehelix rainbow, inspired by Matteo Niccoli’s perceptual rainbow but extended to 360°, varies in brightness but is prettier.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for i in trip_data_*.csv.zip | |
do | |
unzip -c $i | |
done | | |
tr -d '\015' | | |
awk -F, '{print $12 "," $11 " 1:0"; print $14 "," $13 " 1:1"}' | | |
/data2/data/github/datamaps/encode -z19 -m1 -o nyc-taxi-all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2972.8 560 Van Ness and Bush Van Ness BRT Draft EIS | |
2826.6 844 Castro and 18th http://archives.sfmta.com/cms/rhomepd/documents/2009PedestrianCountReport4_16_10.pdf | |
2754.4 1387 Third and Howard http://archives.sfmta.com/cms/rhomepd/documents/2009PedestrianCountReport4_16_10.pdf | |
2679.8 5464 Fourth and Howard http://urbanecology.org/entrips/documents/Existing%20Conditions%20Report.pdf | |
2356.6 1689.5 Grant Columbus and Broadway http://sf.streetsblog.org/wp-content/upload1/ChinatownPedestrianNeedsAssessment_Final.pdf | |
2178.4 1156 Sixth and Mission http://archives.sfmta.com/cms/rhomepd/documents/2009PedestrianCountReport4_16_10.pdf | |
1783.2 1554 Stockton Columbus and Green http://sf.streetsblog.org/wp-content/upload1/ChinatownPedestrianNeedsAssessment_Final.pdf | |
1460 1113 Third and Folsom http://urbanecology.org/entrips/documents/Existing%20Conditions%20Report.pdf | |
1353.6 974 Eighth and Mission http://urbanecology.org/entrips/documents/Existing%20Conditions%20Report.pdf | |
1276.8 1140 Van Ness and Geary Van Ness BRT Draft E |
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 3 columns, instead of 6 in line 1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1926 scaled to hourly,current hourly,name | |
2972.8,560,Van,Ness,and,Bush | |
2826.6,844,Castro,and,18th | |
2754.4,1387,Third,and,Howard | |
2679.8,5464,Fourth,and,Howard | |
2356.6,1689.5,Grant,Columbus,and,Broadway | |
2178.4,1156,Sixth,and,Mission | |
1783.2,1554,Stockton,Columbus,and,Green | |
1460,1113,Third,and,Folsom | |
1353.6,974,Eighth,and,Mission |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> | |
<![endif]--> | |
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> | |
<![endif]--> | |
<script src="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.js"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' /> | |
<script src='http://api.tiles.mapbox.com/mapbox.js/v1.3.1/mapbox.js'></script> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.3.1/mapbox.css' rel='stylesheet' /> | |
<!--[if lte IE 8]> | |
<link href='http://api.tiles.mapbox.com/mapbox.js/v1.3.1/mapbox.ie.css' rel='stylesheet' > | |
<![endif]--> | |
<style> |