This file contains 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 data = [{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 10}, | |
{"state": "Alaska","own_firearms": 57.8,"votes_republican": 59.42,"homicide_rate": 4.4}, | |
{"state": "Arizona","own_firearms": 31.1,"votes_republican": 53.39,"homicide_rate": 7.4}, | |
{"state": "Arkansas","own_firearms": 55.3,"votes_republican": 58.72,"homicide_rate": 7.7}, | |
{"state": "California","own_firearms": 21.3,"votes_republican": 36.91,"homicide_rate": 6}, | |
{"state": "Colorado","own_firearms": 34.7,"votes_republican": 44.71,"homicide_rate": 3.8}, | |
{"state": "Connecticut","own_firearms": 16.7,"votes_republican": 38.22,"homicide_rate": 3.8}, | |
{"state": "Delaware","own_firearms": 25.5,"votes_republican": 36.93,"homicide_rate": 7.8}, | |
{"state": "The District","own_firearms": 3.8,"votes_republican": 6.53,"homicide_rate": 25.6}, | |
{"state": "Florida","own_firearms": 24.5,"votes_republican": 48.1,"homicide_rate": 7.5}, |
This file contains 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
// showing rate of population who owns firearms (height) vs homicide rate (color) | |
var data = [{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 10}, | |
{"state": "Alaska","own_firearms": 57.8,"votes_republican": 59.42,"homicide_rate": 4.4}, | |
{"state": "Arizona","own_firearms": 31.1,"votes_republican": 53.39,"homicide_rate": 7.4}, | |
{"state": "Arkansas","own_firearms": 55.3,"votes_republican": 58.72,"homicide_rate": 7.7}, | |
{"state": "California","own_firearms": 21.3,"votes_republican": 36.91,"homicide_rate": 6}, | |
{"state": "Colorado","own_firearms": 34.7,"votes_republican": 44.71,"homicide_rate": 3.8}, | |
{"state": "Connecticut","own_firearms": 16.7,"votes_republican": 38.22,"homicide_rate": 3.8}, | |
{"state": "Delaware","own_firearms": 25.5,"votes_republican": 36.93,"homicide_rate": 7.8}, |
This file contains 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
// showing rate of population who owns firearms (height) vs red/blue state | |
var data = [{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 10}, | |
{"state": "Alaska","own_firearms": 57.8,"votes_republican": 59.42,"homicide_rate": 4.4}, | |
{"state": "Arizona","own_firearms": 31.1,"votes_republican": 53.39,"homicide_rate": 7.4}, | |
{"state": "Arkansas","own_firearms": 55.3,"votes_republican": 58.72,"homicide_rate": 7.7}, | |
{"state": "California","own_firearms": 21.3,"votes_republican": 36.91,"homicide_rate": 6}, | |
{"state": "Colorado","own_firearms": 34.7,"votes_republican": 44.71,"homicide_rate": 3.8}, | |
{"state": "Connecticut","own_firearms": 16.7,"votes_republican": 38.22,"homicide_rate": 3.8}, | |
{"state": "Delaware","own_firearms": 25.5,"votes_republican": 36.93,"homicide_rate": 7.8}, |
This file contains 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 stateData = {"type":"FeatureCollection","features":[ | |
{"type":"Feature","id":"01","properties":{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 17.60, "code": "AL", "name":"Alabama"},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]} |
This file contains 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 stateData = {"type":"FeatureCollection","features":[ | |
{"type":"Feature","id":"01","properties":{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 17.60, "code": "AL", "name":"Alabama"},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]} |
This file contains 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 stateData = {"type":"FeatureCollection","features":[ | |
{"type":"Feature","id":"01","properties":{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 17.60, "code": "AL", "name":"Alabama"},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]} |
This file contains 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 stateData = {"type":"FeatureCollection","features":[ | |
{"type":"Feature","id":"01","properties":{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 17.60, "code": "AL", "name":"Alabama"},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]} |
This file contains 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 stateData = {"type":"FeatureCollection","features":[ | |
{"type":"Feature","id":"01","properties":{"state": "Alabama","own_firearms": 51.7,"votes_republican": 60.32,"homicide_rate": 17.60, "code": "AL", "name":"Alabama"},"geometry":{"type":"Polygon","coordinates":[[[-87.359296,35.00118],[-85.606675,34.984749],[-85.431413,34.124869],[-85.184951,32.859696],[-85.069935,32.580372],[-84.960397,32.421541],[-85.004212,32.322956],[-84.889196,32.262709],[-85.058981,32.13674],[-85.053504,32.01077],[-85.141136,31.840985],[-85.042551,31.539753],[-85.113751,31.27686],[-85.004212,31.003013],[-85.497137,30.997536],[-87.600282,30.997536],[-87.633143,30.86609],[-87.408589,30.674397],[-87.446927,30.510088],[-87.37025,30.427934],[-87.518128,30.280057],[-87.655051,30.247195],[-87.90699,30.411504],[-87.934375,30.657966],[-88.011052,30.685351],[-88.10416,30.499135],[-88.137022,30.318396],[-88.394438,30.367688],[-88.471115,31.895754],[-88.241084,33.796253],[-88.098683,34.891641],[-88.202745,34.995703],[-87.359296,35.00118]]]} |
OlderNewer