Created
          July 29, 2013 22:32 
        
      - 
      
- 
        Save shaneshifflett/6108493 to your computer and use it in GitHub Desktop. 
    d3 + colorbrewer + scales for assigning color to features
  
        
  
    
      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
    
  
  
    
  | var clrs = [colorbrewer.Reds[7][3], colorbrewer.Reds[7][5], colorbrewer.Reds[7][7]]; | |
| var color = d3.scale.quantize() | |
| .domain(minmax) | |
| .range(clrs); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment