Built with blockbuilder.org
forked from oliviac12's block: linked DataViz
license: mit |
Built with blockbuilder.org
forked from oliviac12's block: linked DataViz
[{"date": "1976", "Alabama": "6.8", "Alaska": "7.6", "Arizona": "9.7", "Arkansas": "7", "California": "9.1", "Colorado": "5.8", "Connecticut": "9.3", "Delaware": "8.8", "Florida": "9.2", "Georgia": "8.2", "Hawaii": "9.4", "Idaho": "5.6", "Illinois": "6.6", "Indiana": "6.1", "Iowa": "4.0", "Kansas": "4.2", "Kentucky": "5.4", "Louisiana": "6.7", "Maine": "8.7", "Maryland": "6.6", "Massachusetts": "9.6", "Michigan": "9.4", "Minnesota": "5.8", "Mississippi": "6.6", "Missouri": "6.2", "Montana": "6.0", "Nebraska": "3.2", "Nevada": "8.8", "New Hampshire": "6.5", "New Jersey": "10.4", "New Mexico": "8.9", "New York": "10.2", "North Carolina": "6.3", "North Dakota": "3.7", "Ohio": "7.8", "Oklahoma": "5.7", "Oregon": "9.4", "Pennsylvania": "8.0", "Rhode Island": "8.2", "South Carolina": "7.2", "South Dakota": "3.3", "Tennessee": "6.1", "Texas": "5.8", "Utah": "5.6", "Vermont": "8.3", "Virginia": "5.9", "Washington": "8.9", "West Virginia": "7.3", "Wisconsin": "5.5", "Wyoming": "4.0", "avg": "7.7", "D.C.": "9.0"}, {"date": "1977", "Alabama": "7.3", "Alaska": "9.9", "Arizona": "8.2", "Arkansas": "6.5", "California": "8.3", "Colorado": "6.4", "Connecticut": "7.0", "Delaware": "8.5", "Florida": "8.2", "Georgia": "6.9", "Hawaii": "7.9", "Idaho": "5.8", "Illinois": "6.2", "Indiana": "5.8", "Iowa": "3.9", "Kansas": "3.9", "Kentucky": "4.8", "Louisiana": "7.1", "Maine": "8.3", "Maryland": "6.3", "Massachusetts": "7.8", "Michigan": "8.2", "Minnesota": "5.3", "Mississippi": "7.3", "Missouri": "6.0", "Montana": "6.3", "Nebraska": "3.4", "Nevada": "6.7", "New Hampshire": "5.4", "New Jersey": "9.4", "New Mexico": "7.6", "New York": "9.1", "North Carolina": "5.9", "North Dakota": "4.5", "Ohio": "6.5", "Oklahoma": "4.9", "Oregon": "7.4", "Pennsylvania": "7.7", "Rhode Island": "8.0", "South Carolina": "6.9", "South Dakota": "3.3", "Tennessee": "6.2", "Texas": "5.3", "Utah": "5.1", "Vermont": "7.0", "Virginia": "5.5", "Washington": "8.5", "West Virginia": "6.9", "Wisconsin": "5.1", "Wyoming": "3.4", "avg": "7.1", "D.C.": "9.2"}, {"date": "1978", "Alabama": "6.4", "Alaska": "10.6", "Arizona": "6", "Arkansas": "6.2", "California": "7.2", "Colorado": "5.5", "Connecticut": "5.2", "Delaware": "7.4", "Florida": "6.7", "Georgia": "5.7", "Hawaii": "7.1", "Idaho": "5.4", "Illinois": "6.0", "Indiana": "5.6", "Iowa": "3.9", "Kansas": "3.1", "Kentucky": "5.1", "Louisiana": "6.8", "Maine": "6.4", "Maryland": "5.5", "Massachusetts": "6.2", "Michigan": "7.0", "Minnesota": "3.9", "Mississippi": "6.9", "Missouri": "4.9", "Montana": "5.7", "Nebraska": "3.1", "Nevada": "4.5", "New Hampshire": "3.8", "New Jersey": "7.3", "New Mexico": "5.9", "New York": "7.8", "North Carolina": "4.5", "North Dakota": "4.3", "Ohio": "5.5", "Oklahoma": "3.6", "Oregon": "6.0", "Pennsylvania": "6.9", "Rhode Island": "6.6", "South Carolina": "5.7", "South Dakota": "3.1", "Tennessee": "5.8", "Texas": "4.8", "Utah": "3.8", "Vermont": "5.6", "Virginia": "5.3", "Washington": "6.9", "West Virginia": "6.2", "Wisconsin": "5.0", "Wyoming": "3.0", "avg": "6.1", "D.C.": "8.3"}, {"date": "1979", "Alabama": "7.2", "Alaska": "9.3", "Arizona": "5.1", "Arkansas": "6.2", "California": "6.2", "Colorado": "4.7", "Connecticut": "5.1", "Delaware": "7.2", "Florida": "5.9", "Georgia": "5.1", "Hawaii": "6.1", "Idaho": "5.8", "Illinois": "5.5", "Indiana": "6.5", "Iowa": "4.2", "Kansas": "3.2", "Kentucky": "5.5", "Louisiana": "6.6", "Maine": "6.8", "Maryland": "5.8", "Massachusetts": "5.5", "Michigan": "7.8", "Minnesota": "4.2", "Mississippi": "5.7", "Missouri": "4.8", "Montana": "5.2", "Nebraska": "3.0", "Nevada": "4.9", "New Hampshire": "3.2", "New Jersey": "6.9", "New Mexico": "6.4", "New York": "7.2", "North Carolina": "4.8", "North Dakota": "4.0", "Ohio": "5.8", "Oklahoma": "3.4", "Oregon": "6.7", "Pennsylvania": "6.9", "Rhode Island": "6.4", "South Carolina": "5.0", "South Dakota": "3.4", "Tennessee": "5.8", "Texas": "4.3", "Utah": "4.3", "Vermont": "5.1", "Virginia": "4.7", "Washington": "6.6", "West Virginia": "6.9", "Wisconsin": "4.6", "Wyoming": "2.7", "avg": "5.8", "D.C.": "7.0"}, {"date": "1980", "Alabama": "8.9", "Alaska": "9.6", "Arizona": "6.6", "Arkansas": "7.6", "California": "6.8", "Colorado": "5.8", "Connecticut": "5.8", "Delaware": "7.6", "Florida": "6.1", "Georgia": "6.3", "Hawaii": "5.0", "Idaho": "7.5", "Illinois": "8.2", "Indiana": "9.6", "Iowa": "6.0", "Kansas": "4.4", "Kentucky": "8.0", "Louisiana": "6.9", "Maine": "7.6", "Maryland": "6.6", "Massachusetts": "5.6", "Michigan": "12.3", "Minnesota": "5.8", "Mississippi": "7.4", "Missouri": "7.2", "Montana": "6.1", "Nebraska": "3.9", "Nevada": "6.2", "New Hampshire": "4.5", "New Jersey": "7.2", "New Mexico": "7.6", "New York": "7.5", "North Carolina": "6.4", "North Dakota": "4.9", "Ohio": "8.4", "Oklahoma": "4.4", "Oregon": "8.5", "Pennsylvania": "8.0", "Rhode Island": "7.2", "South Carolina": "6.7", "South Dakota": "4.8", "Tennessee": "7.4", "Texas": "5.1", "Utah": "6.2", "Vermont": "6.2", "Virginia": "5.2", "Washington": "8.1", "West Virginia": "9.5", "Wisconsin": "7.2", "Wyoming": "3.9", "avg": "7.1", "D.C.": "7.4"}, {"date": "1981", "Alabama": "10.6", "Alaska": "9.4", "Arizona": "6.2", "Arkansas": "8.7", "California": "7.4", "Colorado": "5.7", "Connecticut": "6.2", "Delaware": "7.8", "Florida": "6.7", "Georgia": "6.4", "Hawaii": "5.4", "Idaho": "7.7", "Illinois": "8.5", "Indiana": "9.9", "Iowa": "6.6", "Kansas": "4.3", "Kentucky": "8.6", "Louisiana": "8.4", "Maine": "7.4", "Maryland": "7.3", "Massachusetts": "6.5", "Michigan": "12.4", "Minnesota": "5.8", "Mississippi": "8.5", "Missouri": "7.6", "Montana": "6.8", "Nebraska": "4.2", "Nevada": "7.2", "New Hampshire": "5.2", "New Jersey": "7.4", "New Mexico": "7.3", "New York": "7.6", "North Carolina": "6.5", "North Dakota": "4.8", "Ohio": "9.4", "Oklahoma": "3.6", "Oregon": "9.8", "Pennsylvania": "8.4", "Rhode Island": "7.8", "South Carolina": "8.1", "South Dakota": "5.0", "Tennessee": "9.0", "Texas": "5.3", "Utah": "6.6", "Vermont": "5.8", "Virginia": "6.0", "Washington": "9.6", "West Virginia": "10.6", "Wisconsin": "8.0", "Wyoming": "4.1", "avg": "7.6", "D.C.": "8.9"}, {"date": "1982", "Alabama": "14.1", "Alaska": "9.9", "Arizona": "10.1", "Arkansas": "9.9", "California": "10.0", "Colorado": "7.3", "Connecticut": "6.9", "Delaware": "8.4", "Florida": "8.4", "Georgia": "7.8", "Hawaii": "6.3", "Idaho": "9.9", "Illinois": "11.4", "Indiana": "12.0", "Iowa": "8.5", "Kansas": "6.3", "Kentucky": "10.8", "Louisiana": "10.3", "Maine": "8.4", "Maryland": "8.3", "Massachusetts": "7.7", "Michigan": "15.4", "Minnesota": "7.9", "Mississippi": "11.1", "Missouri": "9.2", "Montana": "8.5", "Nebraska": "5.6", "Nevada": "9.9", "New Hampshire": "6.8", "New Jersey": "8.7", "New Mexico": "9.2", "New York": "8.5", "North Carolina": "9.2", "North Dakota": "5.6", "Ohio": "12.7", "Oklahoma": "6.0", "Oregon": "11.5", "Pennsylvania": "11.2", "Rhode Island": "9.7", "South Carolina": "11.1", "South Dakota": "5.5", "Tennessee": "11.7", "Texas": "6.9", "Utah": "8.2", "Vermont": "7.0", "Virginia": "7.4", "Washington": "11.9", "West Virginia": "14.0", "Wisconsin": "10.5", "Wyoming": "6.2", "avg": "9.7", "D.C.": "10.4"}, {"date": "1983", "Alabama": "13.8", "Alaska": "9.9", "Arizona": "8.8", "Arkansas": "9.9", "California": "9.8", "Colorado": "7.1", "Connecticut": "6.0", "Delaware": "7.7", "Florida": "8.5", "Georgia": "7.7", "Hawaii": "6.2", "Idaho": "8.9", "Illinois": "11.8", "Indiana": "11.2", "Iowa": "8.1", "Kansas": "5.9", "Kentucky": "11.4", "Louisiana": "11.5", "Maine": "8.3", "Maryland": "7.0", "Massachusetts": "6.8", "Michigan": "14.4", "Minnesota": "8.0", "Mississippi": "12.1", "Missouri": "9.9", "Montana": "8.6", "Nebraska": "5.6", "Nevada": "9.6", "New Hampshire": "5.5", "New Jersey": "8.0", "New Mexico": "9.7", "New York": "8.7", "North Carolina": "9.0", "North Dakota": "5.7", "Ohio": "12.4", "Oklahoma": "8.4", "Oregon": "10.8", "Pennsylvania": "11.5", "Rhode Island": "8.3", "South Carolina": "9.9", "South Dakota": "5.2", "Tennessee": "11.5", "Texas": "7.9", "Utah": "8.7", "Vermont": "6.4", "Virginia": "6.4", "Washington": "11.1", "West Virginia": "17.8", "Wisconsin": "10.2", "Wyoming": "8.2", "avg": "9.6", "D.C.": "11.2"}, {"date": "1984", "Alabama": "11", "Alaska": "9.8", "Arizona": "5.2", "Arkansas": "8.7", "California": "7.8", "Colorado": "5.4", "Connecticut": "4.7", "Delaware": "6.3", "Florida": "6.4", "Georgia": "6.1", "Hawaii": "5.7", "Idaho": "7.3", "Illinois": "9.0", "Indiana": "8.6", "Iowa": "7.0", "Kansas": "4.9", "Kentucky": "9.3", "Louisiana": "10.1", "Maine": "6.2", "Maryland": "5.4", "Massachusetts": "4.8", "Michigan": "11.2", "Minnesota": "6.3", "Mississippi": "10.5", "Missouri": "7.2", "Montana": "7.6", "Nebraska": "4.5", "Nevada": "7.9", "New Hampshire": "4.3", "New Jersey": "6.2", "New Mexico": "7.8", "New York": "7.2", "North Carolina": "6.7", "North Dakota": "5.3", "Ohio": "9.5", "Oklahoma": "7.1", "Oregon": "9.4", "Pennsylvania": "9.1", "Rhode Island": "5.5", "South Carolina": "6.9", "South Dakota": "4.4", "Tennessee": "8.5", "Texas": "6.1", "Utah": "6.5", "Vermont": "5.1", "Virginia": "5.1", "Washington": "9.3", "West Virginia": "14.8", "Wisconsin": "7.4", "Wyoming": "6.3", "avg": "7.5", "D.C.": "9.1"}, {"date": "1985", "Alabama": "9.2", "Alaska": "9.7", "Arizona": "6.3", "Arkansas": "8.7", "California": "7.2", "Colorado": "6.1", "Connecticut": "4.7", "Delaware": "5.1", "Florida": "6.0", "Georgia": "6.4", "Hawaii": "5.4", "Idaho": "7.9", "Illinois": "9.1", "Indiana": "7.8", "Iowa": "7.5", "Kansas": "5.1", "Kentucky": "9.2", "Louisiana": "11.6", "Maine": "5.5", "Maryland": "4.6", "Massachusetts": "4.0", "Michigan": "10.0", "Minnesota": "6.0", "Mississippi": "10.4", "Missouri": "6.5", "Montana": "7.7", "Nebraska": "5.2", "Nevada": "7.7", "New Hampshire": "3.7", "New Jersey": "5.6", "New Mexico": "8.3", "New York": "6.6", "North Carolina": "5.6", "North Dakota": "5.7", "Ohio": "8.9", "Oklahoma": "7.2", "Oregon": "8.8", "Pennsylvania": "8.0", "Rhode Island": "4.6", "South Carolina": "6.9", "South Dakota": "4.8", "Tennessee": "7.9", "Texas": "7.0", "Utah": "6.0", "Vermont": "4.8", "Virginia": "5.5", "Washington": "8.4", "West Virginia": "13.1", "Wisconsin": "7.2", "Wyoming": "6.9", "avg": "7.2", "D.C.": "8.1"}, {"date": "1986", "Alabama": "9.7", "Alaska": "10.9", "Arizona": "6.9", "Arkansas": "8.6", "California": "6.7", "Colorado": "7.5", "Connecticut": "3.8", "Delaware": "4.3", "Florida": "5.8", "Georgia": "6.0", "Hawaii": "4.8", "Idaho": "8.4", "Illinois": "8.3", "Indiana": "6.9", "Iowa": "6.8", "Kansas": "5.3", "Kentucky": "9.4", "Louisiana": "12.8", "Maine": "5.3", "Maryland": "4.6", "Massachusetts": "3.9", "Michigan": "8.8", "Minnesota": "5.5", "Mississippi": "11.4", "Missouri": "6.2", "Montana": "7.9", "Nebraska": "5.0", "Nevada": "6.2", "New Hampshire": "2.8", "New Jersey": "5.0", "New Mexico": "9.3", "New York": "6.2", "North Carolina": "5.3", "North Dakota": "5.9", "Ohio": "8.3", "Oklahoma": "8.2", "Oregon": "8.0", "Pennsylvania": "6.9", "Rhode Island": "4.1", "South Carolina": "6.4", "South Dakota": "4.6", "Tennessee": "7.9", "Texas": "8.8", "Utah": "6.1", "Vermont": "4.3", "Virginia": "5.0", "Washington": "8.1", "West Virginia": "11.8", "Wisconsin": "7.0", "Wyoming": "8.9", "avg": "7", "D.C.": "7.5"}, {"date": "1987", "Alabama": "8.1", "Alaska": "10.3", "Arizona": "6.5", "Arkansas": "8.1", "California": "5.8", "Colorado": "7.5", "Connecticut": "3.4", "Delaware": "3.1", "Florida": "5.3", "Georgia": "5.7", "Hawaii": "3.8", "Idaho": "7.6", "Illinois": "7.4", "Indiana": "6.2", "Iowa": "5.5", "Kansas": "4.8", "Kentucky": "8.5", "Louisiana": "12.1", "Maine": "4.4", "Maryland": "4.4", "Massachusetts": "3.2", "Michigan": "8.3", "Minnesota": "5.1", "Mississippi": "10.0", "Missouri": "6.3", "Montana": "7.4", "Nebraska": "4.4", "Nevada": "6.1", "New Hampshire": "2.3", "New Jersey": "4.1", "New Mexico": "8.7", "New York": "4.9", "North Carolina": "4.5", "North Dakota": "5.0", "Ohio": "7.1", "Oklahoma": "7.3", "Oregon": "6.3", "Pennsylvania": "5.6", "Rhode Island": "3.6", "South Carolina": "5.5", "South Dakota": "4.2", "Tennessee": "6.6", "Texas": "8.4", "Utah": "6.2", "Vermont": "3.6", "Virginia": "4.3", "Washington": "7.3", "West Virginia": "10.8", "Wisconsin": "5.9", "Wyoming": "8.0", "avg": "6.2", "D.C.": "6.3"}, {"date": "1988", "Alabama": "7.2", "Alaska": "8.8", "Arizona": "6.4", "Arkansas": "7.6", "California": "5.3", "Colorado": "6.5", "Connecticut": "3.0", "Delaware": "3.1", "Florida": "5.1", "Georgia": "5.7", "Hawaii": "3.2", "Idaho": "6.0", "Illinois": "6.7", "Indiana": "5.2", "Iowa": "4.5", "Kansas": "4.5", "Kentucky": "7.6", "Louisiana": "10.8", "Maine": "3.6", "Maryland": "4.3", "Massachusetts": "3.3", "Michigan": "7.5", "Minnesota": "4.3", "Mississippi": "8.4", "Missouri": "5.7", "Montana": "6.6", "Nebraska": "3.6", "Nevada": "5.2", "New Hampshire": "2.4", "New Jersey": "3.8", "New Mexico": "7.5", "New York": "4.3", "North Carolina": "3.6", "North Dakota": "4.7", "Ohio": "6.0", "Oklahoma": "6.4", "Oregon": "5.8", "Pennsylvania": "5.0", "Rhode Island": "3.1", "South Carolina": "4.7", "South Dakota": "4.1", "Tennessee": "5.8", "Texas": "7.3", "Utah": "5.0", "Vermont": "3.0", "Virginia": "3.9", "Washington": "6.3", "West Virginia": "9.8", "Wisconsin": "4.4", "Wyoming": "6.5", "avg": "5.5", "D.C.": "5.0"}, {"date": "1989", "Alabama": "7", "Alaska": "7", "Arizona": "5.3", "Arkansas": "7", "California": "5.1", "Colorado": "5.7", "Connecticut": "3.8", "Delaware": "3.5", "Florida": "5.6", "Georgia": "5.5", "Hawaii": "2.5", "Idaho": "5.3", "Illinois": "6.0", "Indiana": "4.9", "Iowa": "4.2", "Kansas": "4.2", "Kentucky": "6.4", "Louisiana": "8.0", "Maine": "4.0", "Maryland": "3.8", "Massachusetts": "4.2", "Michigan": "7.1", "Minnesota": "4.3", "Mississippi": "7.8", "Missouri": "5.5", "Montana": "5.8", "Nebraska": "2.9", "Nevada": "4.7", "New Hampshire": "3.5", "New Jersey": "4.1", "New Mexico": "6.7", "New York": "5.0", "North Carolina": "3.5", "North Dakota": "4.3", "Ohio": "5.5", "Oklahoma": "5.6", "Oregon": "5.4", "Pennsylvania": "4.7", "Rhode Island": "4.1", "South Carolina": "4.6", "South Dakota": "4.0", "Tennessee": "5.1", "Texas": "6.7", "Utah": "4.5", "Vermont": "3.5", "Virginia": "3.9", "Washington": "5.9", "West Virginia": "8.6", "Wisconsin": "4.3", "Wyoming": "6.1", "avg": "5.3", "D.C.": "4.9"}, {"date": "1990", "Alabama": "6.8", "Alaska": "7.2", "Arizona": "5.3", "Arkansas": "6.9", "California": "5.8", "Colorado": "5.2", "Connecticut": "5.1", "Delaware": "4.7", "Florida": "6.1", "Georgia": "5.5", "Hawaii": "2.7", "Idaho": "5.5", "Illinois": "6.1", "Indiana": "5.3", "Iowa": "4.4", "Kansas": "4.3", "Kentucky": "6.0", "Louisiana": "6.2", "Maine": "5.3", "Maryland": "4.5", "Massachusetts": "6.3", "Michigan": "7.6", "Minnesota": "4.8", "Mississippi": "7.6", "Missouri": "5.8", "Montana": "6.0", "Nebraska": "2.3", "Nevada": "4.7", "New Hampshire": "5.7", "New Jersey": "5.0", "New Mexico": "6.6", "New York": "5.3", "North Carolina": "4.1", "North Dakota": "4.0", "Ohio": "5.6", "Oklahoma": "5.7", "Oregon": "5.5", "Pennsylvania": "5.5", "Rhode Island": "6.3", "South Carolina": "4.8", "South Dakota": "3.8", "Tennessee": "5.3", "Texas": "6.3", "Utah": "4.4", "Vermont": "5.0", "Virginia": "4.5", "Washington": "5.2", "West Virginia": "8.5", "Wisconsin": "4.4", "Wyoming": "5.3", "avg": "5.6", "D.C.": "6.3"}, {"date": "1991", "Alabama": "7.3", "Alaska": "8.5", "Arizona": "5.9", "Arkansas": "7.4", "California": "7.7", "Colorado": "5.3", "Connecticut": "6.5", "Delaware": "6.2", "Florida": "7.5", "Georgia": "5.2", "Hawaii": "2.9", "Idaho": "6.2", "Illinois": "7.3", "Indiana": "6.0", "Iowa": "4.7", "Kansas": "4.4", "Kentucky": "7.3", "Louisiana": "7.3", "Maine": "7.5", "Maryland": "6.1", "Massachusetts": "8.6", "Michigan": "9.2", "Minnesota": "5.1", "Mississippi": "8.5", "Missouri": "6.6", "Montana": "6.9", "Nebraska": "2.7", "Nevada": "5.8", "New Hampshire": "7.3", "New Jersey": "6.7", "New Mexico": "7.1", "New York": "7.2", "North Carolina": "5.8", "North Dakota": "4.4", "Ohio": "6.5", "Oklahoma": "6.3", "Oregon": "6.4", "Pennsylvania": "7.0", "Rhode Island": "8.6", "South Carolina": "6.1", "South Dakota": "3.5", "Tennessee": "6.8", "Texas": "6.9", "Utah": "4.7", "Vermont": "6.6", "Virginia": "5.9", "Washington": "6.3", "West Virginia": "10.6", "Wisconsin": "5.5", "Wyoming": "5.2", "avg": "6.8", "D.C.": "7.8"}, {"date": "1992", "Alabama": "7.6", "Alaska": "8.9", "Arizona": "7.5", "Arkansas": "7.1", "California": "9.3", "Colorado": "6.0", "Connecticut": "7.6", "Delaware": "5.4", "Florida": "8.2", "Georgia": "6.9", "Hawaii": "4.3", "Idaho": "6.4", "Illinois": "7.9", "Indiana": "6.6", "Iowa": "4.5", "Kansas": "4.5", "Kentucky": "6.9", "Louisiana": "8.0", "Maine": "7.3", "Maryland": "6.8", "Massachusetts": "8.5", "Michigan": "9.0", "Minnesota": "5.1", "Mississippi": "8.1", "Missouri": "6.2", "Montana": "6.7", "Nebraska": "2.9", "Nevada": "6.7", "New Hampshire": "7.3", "New Jersey": "8.4", "New Mexico": "7.2", "New York": "8.6", "North Carolina": "6.0", "North Dakota": "4.7", "Ohio": "7.4", "Oklahoma": "6.0", "Oregon": "7.4", "Pennsylvania": "7.6", "Rhode Island": "8.9", "South Carolina": "6.7", "South Dakota": "3.3", "Tennessee": "6.5", "Texas": "7.6", "Utah": "4.8", "Vermont": "6.1", "Virginia": "6.3", "Washington": "7.3", "West Virginia": "11.3", "Wisconsin": "5.1", "Wyoming": "5.6", "avg": "7.5", "D.C.": "8.6"}, {"date": "1993", "Alabama": "7.3", "Alaska": "7.7", "Arizona": "6.4", "Arkansas": "6.1", "California": "9.5", "Colorado": "5.3", "Connecticut": "6.6", "Delaware": "5.1", "Florida": "7.1", "Georgia": "6.0", "Hawaii": "4.5", "Idaho": "6.0", "Illinois": "7.4", "Indiana": "5.4", "Iowa": "4.0", "Kansas": "5.0", "Kentucky": "6.2", "Louisiana": "7.6", "Maine": "7.3", "Maryland": "6.2", "Massachusetts": "7.0", "Michigan": "7.2", "Minnesota": "5.0", "Mississippi": "6.6", "Missouri": "6.2", "Montana": "6.0", "Nebraska": "2.8", "Nevada": "6.8", "New Hampshire": "6.1", "New Jersey": "7.6", "New Mexico": "7.0", "New York": "7.9", "North Carolina": "5.0", "North Dakota": "4.3", "Ohio": "6.6", "Oklahoma": "5.9", "Oregon": "7.0", "Pennsylvania": "7.0", "Rhode Island": "7.7", "South Carolina": "7.3", "South Dakota": "3.4", "Tennessee": "5.8", "Texas": "7.2", "Utah": "4.1", "Vermont": "5.2", "Virginia": "5.2", "Washington": "7.3", "West Virginia": "10.6", "Wisconsin": "4.8", "Wyoming": "5.3", "avg": "6.9", "D.C.": "8.5"}, {"date": "1994", "Alabama": "6.2", "Alaska": "7.6", "Arizona": "6.1", "Arkansas": "5.4", "California": "8.6", "Colorado": "4.2", "Connecticut": "5.6", "Delaware": "4.8", "Florida": "6.4", "Georgia": "5.2", "Hawaii": "5.5", "Idaho": "5.4", "Illinois": "5.8", "Indiana": "4.9", "Iowa": "3.5", "Kansas": "4.9", "Kentucky": "5.4", "Louisiana": "7.8", "Maine": "7.0", "Maryland": "5.3", "Massachusetts": "6.0", "Michigan": "6.0", "Minnesota": "4.1", "Mississippi": "6.3", "Missouri": "5.1", "Montana": "5.2", "Nebraska": "2.6", "Nevada": "6.2", "New Hampshire": "4.7", "New Jersey": "6.8", "New Mexico": "6.5", "New York": "6.9", "North Carolina": "4.4", "North Dakota": "3.7", "Ohio": "5.6", "Oklahoma": "5.6", "Oregon": "5.4", "Pennsylvania": "6.3", "Rhode Island": "6.9", "South Carolina": "6.2", "South Dakota": "3.3", "Tennessee": "4.8", "Texas": "6.5", "Utah": "3.8", "Vermont": "4.6", "Virginia": "4.9", "Washington": "6.6", "West Virginia": "8.8", "Wisconsin": "4.5", "Wyoming": "5.0", "avg": "6.1", "D.C.": "8.0"}, {"date": "1995", "Alabama": "6", "Alaska": "7.3", "Arizona": "5.3", "Arkansas": "4.8", "California": "7.9", "Colorado": "4.0", "Connecticut": "5.5", "Delaware": "4.3", "Florida": "5.5", "Georgia": "4.8", "Hawaii": "5.9", "Idaho": "5.4", "Illinois": "5.2", "Indiana": "4.6", "Iowa": "3.4", "Kansas": "4.4", "Kentucky": "5.4", "Louisiana": "7.0", "Maine": "6.0", "Maryland": "5.0", "Massachusetts": "5.3", "Michigan": "5.3", "Minnesota": "3.7", "Mississippi": "6.2", "Missouri": "4.7", "Montana": "5.7", "Nebraska": "2.6", "Nevada": "5.6", "New Hampshire": "4.0", "New Jersey": "6.4", "New Mexico": "6.6", "New York": "6.3", "North Carolina": "4.3", "North Dakota": "3.2", "Ohio": "4.8", "Oklahoma": "4.6", "Oregon": "4.9", "Pennsylvania": "5.9", "Rhode Island": "6.3", "South Carolina": "5.2", "South Dakota": "3.0", "Tennessee": "5.2", "Texas": "6.1", "Utah": "3.5", "Vermont": "4.3", "Virginia": "4.5", "Washington": "6.4", "West Virginia": "7.9", "Wisconsin": "3.8", "Wyoming": "4.8", "avg": "5.6", "D.C.": "8.8"}, {"date": "1996", "Alabama": "5.2", "Alaska": "7.6", "Arizona": "5.6", "Arkansas": "5.3", "California": "7.3", "Colorado": "4.2", "Connecticut": "5.5", "Delaware": "5.1", "Florida": "5.2", "Georgia": "4.7", "Hawaii": "6.3", "Idaho": "5.3", "Illinois": "5.3", "Indiana": "4.1", "Iowa": "3.5", "Kansas": "4.3", "Kentucky": "5.5", "Louisiana": "6.6", "Maine": "5.2", "Maryland": "5.0", "Massachusetts": "4.4", "Michigan": "4.9", "Minnesota": "4.0", "Mississippi": "6.0", "Missouri": "4.8", "Montana": "5.3", "Nebraska": "2.7", "Nevada": "5.0", "New Hampshire": "3.8", "New Jersey": "6.1", "New Mexico": "7.2", "New York": "6.2", "North Carolina": "4.3", "North Dakota": "2.9", "Ohio": "5.0", "Oklahoma": "4.1", "Oregon": "5.7", "Pennsylvania": "5.4", "Rhode Island": "5.4", "South Carolina": "5.8", "South Dakota": "3.2", "Tennessee": "5.2", "Texas": "5.7", "Utah": "3.4", "Vermont": "4.3", "Virginia": "4.4", "Washington": "6.1", "West Virginia": "7.5", "Wisconsin": "3.6", "Wyoming": "4.9", "avg": "5.4", "D.C.": "8.4"}, {"date": "1997", "Alabama": "5", "Alaska": "7.1", "Arizona": "4.6", "Arkansas": "5.2", "California": "6.4", "Colorado": "3.5", "Connecticut": "5.0", "Delaware": "4.0", "Florida": "4.8", "Georgia": "4.6", "Hawaii": "6.2", "Idaho": "5.1", "Illinois": "4.8", "Indiana": "3.5", "Iowa": "3.1", "Kansas": "3.8", "Kentucky": "5.3", "Louisiana": "6.0", "Maine": "5.1", "Maryland": "5.0", "Massachusetts": "3.9", "Michigan": "4.3", "Minnesota": "3.3", "Mississippi": "5.7", "Missouri": "4.3", "Montana": "5.3", "Nebraska": "2.5", "Nevada": "4.4", "New Hampshire": "3.3", "New Jersey": "5.3", "New Mexico": "6.3", "New York": "6.4", "North Carolina": "3.7", "North Dakota": "2.7", "Ohio": "4.6", "Oklahoma": "4.1", "Oregon": "5.7", "Pennsylvania": "5.1", "Rhode Island": "5.1", "South Carolina": "4.6", "South Dakota": "2.9", "Tennessee": "5.3", "Texas": "5.3", "Utah": "3.2", "Vermont": "3.9", "Virginia": "3.8", "Washington": "4.9", "West Virginia": "6.9", "Wisconsin": "3.6", "Wyoming": "4.8", "avg": "4.9", "D.C.": "8.0"}, {"date": "1998", "Alabama": "4.4", "Alaska": "6.3", "Arizona": "4.3", "Arkansas": "5.2", "California": "5.9", "Colorado": "3.6", "Connecticut": "3.4", "Delaware": "3.7", "Florida": "4.3", "Georgia": "4.3", "Hawaii": "6.1", "Idaho": "5.1", "Illinois": "4.4", "Indiana": "3.1", "Iowa": "2.7", "Kansas": "3.5", "Kentucky": "4.6", "Louisiana": "5.7", "Maine": "4.5", "Maryland": "4.4", "Massachusetts": "3.3", "Michigan": "3.9", "Minnesota": "2.7", "Mississippi": "5.3", "Missouri": "4.2", "Montana": "5.5", "Nebraska": "2.6", "Nevada": "4.2", "New Hampshire": "2.8", "New Jersey": "4.6", "New Mexico": "6.1", "New York": "5.6", "North Carolina": "3.5", "North Dakota": "2.9", "Ohio": "4.3", "Oklahoma": "4.3", "Oregon": "5.7", "Pennsylvania": "4.6", "Rhode Island": "4.6", "South Carolina": "3.8", "South Dakota": "2.8", "Tennessee": "4.3", "Texas": "4.9", "Utah": "3.6", "Vermont": "3.4", "Virginia": "2.9", "Washington": "4.8", "West Virginia": "6.6", "Wisconsin": "3.4", "Wyoming": "4.7", "avg": "4.5", "D.C.": "8.4"}, {"date": "1999", "Alabama": "4.7", "Alaska": "6.5", "Arizona": "4.4", "Arkansas": "4.6", "California": "5.2", "Colorado": "3.1", "Connecticut": "2.9", "Delaware": "3.4", "Florida": "3.9", "Georgia": "3.9", "Hawaii": "5.4", "Idaho": "4.9", "Illinois": "4.4", "Indiana": "3.0", "Iowa": "2.6", "Kansas": "3.3", "Kentucky": "4.5", "Louisiana": "5.1", "Maine": "4.0", "Maryland": "3.6", "Massachusetts": "3.2", "Michigan": "3.7", "Minnesota": "2.8", "Mississippi": "5.1", "Missouri": "3.3", "Montana": "5.3", "Nebraska": "2.8", "Nevada": "4.0", "New Hampshire": "2.7", "New Jersey": "4.5", "New Mexico": "5.6", "New York": "5.2", "North Carolina": "3.2", "North Dakota": "3.3", "Ohio": "4.3", "Oklahoma": "3.5", "Oregon": "5.5", "Pennsylvania": "4.4", "Rhode Island": "4.2", "South Carolina": "4.3", "South Dakota": "2.7", "Tennessee": "4.0", "Texas": "4.7", "Utah": "3.5", "Vermont": "3.0", "Virginia": "2.7", "Washington": "4.9", "West Virginia": "6.5", "Wisconsin": "3.1", "Wyoming": "4.6", "avg": "4.2", "D.C.": "6.4"}, {"date": "2000", "Alabama": "4.6", "Alaska": "6.4", "Arizona": "4", "Arkansas": "4.3", "California": "4.9", "Colorado": "2.8", "Connecticut": "2.4", "Delaware": "3.7", "Florida": "3.7", "Georgia": "3.6", "Hawaii": "4.2", "Idaho": "4.7", "Illinois": "4.3", "Indiana": "3.1", "Iowa": "2.6", "Kansas": "3.6", "Kentucky": "4.2", "Louisiana": "5.3", "Maine": "3.4", "Maryland": "3.6", "Massachusetts": "2.7", "Michigan": "3.6", "Minnesota": "3.2", "Mississippi": "5.4", "Missouri": "3.6", "Montana": "5.0", "Nebraska": "2.8", "Nevada": "4.2", "New Hampshire": "2.7", "New Jersey": "3.7", "New Mexico": "4.9", "New York": "4.5", "North Carolina": "3.7", "North Dakota": "3.0", "Ohio": "4.0", "Oklahoma": "3.0", "Oregon": "5.1", "Pennsylvania": "4.1", "Rhode Island": "4.1", "South Carolina": "3.8", "South Dakota": "2.5", "Tennessee": "3.9", "Texas": "4.3", "Utah": "3.3", "Vermont": "2.8", "Virginia": "2.3", "Washington": "5.2", "West Virginia": "5.5", "Wisconsin": "3.5", "Wyoming": "3.9", "avg": "4", "D.C.": "5.6"}, {"date": "2001", "Alabama": "5.1", "Alaska": "6.4", "Arizona": "4.8", "Arkansas": "5", "California": "5.4", "Colorado": "3.8", "Connecticut": "3.1", "Delaware": "3.5", "Florida": "4.7", "Georgia": "4.0", "Hawaii": "4.5", "Idaho": "5.1", "Illinois": "5.3", "Indiana": "4.2", "Iowa": "3.3", "Kansas": "4.2", "Kentucky": "5.2", "Louisiana": "5.7", "Maine": "3.8", "Maryland": "4.0", "Massachusetts": "3.7", "Michigan": "5.2", "Minnesota": "3.8", "Mississippi": "5.5", "Missouri": "4.6", "Montana": "4.5", "Nebraska": "3.1", "Nevada": "5.2", "New Hampshire": "3.4", "New Jersey": "4.3", "New Mexico": "4.9", "New York": "4.8", "North Carolina": "5.5", "North Dakota": "2.9", "Ohio": "4.3", "Oklahoma": "3.7", "Oregon": "6.4", "Pennsylvania": "4.8", "Rhode Island": "4.6", "South Carolina": "5.2", "South Dakota": "3.1", "Tennessee": "4.6", "Texas": "5.0", "Utah": "4.4", "Vermont": "3.3", "Virginia": "3.2", "Washington": "6.3", "West Virginia": "5.0", "Wisconsin": "4.5", "Wyoming": "3.8", "avg": "4.7", "D.C.": "6.3"}, {"date": "2002", "Alabama": "5.9", "Alaska": "7.3", "Arizona": "6.1", "Arkansas": "5.5", "California": "6.7", "Colorado": "5.5", "Connecticut": "4.3", "Delaware": "4.0", "Florida": "5.6", "Georgia": "5.0", "Hawaii": "4.2", "Idaho": "5.6", "Illinois": "6.5", "Indiana": "5.2", "Iowa": "4.0", "Kansas": "5.1", "Kentucky": "5.7", "Louisiana": "6.1", "Maine": "4.3", "Maryland": "4.4", "Massachusetts": "5.3", "Michigan": "6.3", "Minnesota": "4.5", "Mississippi": "6.6", "Missouri": "5.4", "Montana": "4.4", "Nebraska": "3.6", "Nevada": "5.6", "New Hampshire": "4.5", "New Jersey": "5.8", "New Mexico": "5.5", "New York": "6.1", "North Carolina": "6.6", "North Dakota": "3.7", "Ohio": "5.7", "Oklahoma": "4.7", "Oregon": "7.5", "Pennsylvania": "5.6", "Rhode Island": "5.0", "South Carolina": "5.8", "South Dakota": "3.2", "Tennessee": "5.2", "Texas": "6.4", "Utah": "5.8", "Vermont": "4.0", "Virginia": "4.2", "Washington": "7.4", "West Virginia": "5.9", "Wisconsin": "5.4", "Wyoming": "4.0", "avg": "5.8", "D.C.": "6.4"}, {"date": "2003", "Alabama": "6", "Alaska": "7.8", "Arizona": "5.7", "Arkansas": "5.9", "California": "6.8", "Colorado": "6.0", "Connecticut": "5.4", "Delaware": "4.3", "Florida": "5.2", "Georgia": "4.8", "Hawaii": "4.1", "Idaho": "5.6", "Illinois": "6.8", "Indiana": "5.3", "Iowa": "4.5", "Kansas": "5.5", "Kentucky": "6.1", "Louisiana": "6.4", "Maine": "5.0", "Maryland": "4.4", "Massachusetts": "5.7", "Michigan": "7.2", "Minnesota": "4.9", "Mississippi": "6.3", "Missouri": "5.6", "Montana": "4.7", "Nebraska": "3.9", "Nevada": "5.1", "New Hampshire": "4.3", "New Jersey": "5.8", "New Mexico": "5.9", "New York": "6.4", "North Carolina": "6.4", "North Dakota": "3.7", "Ohio": "6.2", "Oklahoma": "5.5", "Oregon": "8.1", "Pennsylvania": "5.7", "Rhode Island": "5.3", "South Carolina": "6.9", "South Dakota": "3.5", "Tennessee": "5.6", "Texas": "6.7", "Utah": "5.6", "Vermont": "4.3", "Virginia": "4.1", "Washington": "7.4", "West Virginia": "6.0", "Wisconsin": "5.7", "Wyoming": "4.3", "avg": "6", "D.C.": "6.8"}, {"date": "2004", "Alabama": "5.7", "Alaska": "7.5", "Arizona": "5", "Arkansas": "5.7", "California": "6.2", "Colorado": "5.5", "Connecticut": "5.0", "Delaware": "4.0", "Florida": "4.6", "Georgia": "4.8", "Hawaii": "3.4", "Idaho": "4.9", "Illinois": "6.2", "Indiana": "5.4", "Iowa": "4.5", "Kansas": "5.5", "Kentucky": "5.4", "Louisiana": "5.9", "Maine": "4.6", "Maryland": "4.3", "Massachusetts": "5.1", "Michigan": "7.0", "Minnesota": "4.7", "Mississippi": "6.2", "Missouri": "5.9", "Montana": "4.8", "Nebraska": "3.9", "Nevada": "4.3", "New Hampshire": "3.8", "New Jersey": "4.8", "New Mexico": "5.5", "New York": "5.8", "North Carolina": "5.5", "North Dakota": "3.4", "Ohio": "6.3", "Oklahoma": "4.9", "Oregon": "7.3", "Pennsylvania": "5.4", "Rhode Island": "5.2", "South Carolina": "6.8", "South Dakota": "3.7", "Tennessee": "5.3", "Texas": "5.9", "Utah": "5.0", "Vermont": "3.7", "Virginia": "3.8", "Washington": "6.3", "West Virginia": "5.3", "Wisconsin": "5.0", "Wyoming": "3.8", "avg": "5.5", "D.C.": "7.8"}, {"date": "2005", "Alabama": "4.5", "Alaska": "6.9", "Arizona": "4.7", "Arkansas": "5.2", "California": "5.4", "Colorado": "5.0", "Connecticut": "4.9", "Delaware": "4.1", "Florida": "3.7", "Georgia": "5.3", "Hawaii": "2.9", "Idaho": "4.0", "Illinois": "5.7", "Indiana": "5.5", "Iowa": "4.3", "Kansas": "5.0", "Kentucky": "5.9", "Louisiana": "7.2", "Maine": "4.9", "Maryland": "4.1", "Massachusetts": "4.8", "Michigan": "6.8", "Minnesota": "4.1", "Mississippi": "7.5", "Missouri": "5.4", "Montana": "4.4", "Nebraska": "3.8", "Nevada": "4.1", "New Hampshire": "3.6", "New Jersey": "4.5", "New Mexico": "5.1", "New York": "5.0", "North Carolina": "5.2", "North Dakota": "3.4", "Ohio": "5.9", "Oklahoma": "4.5", "Oregon": "6.2", "Pennsylvania": "5.0", "Rhode Island": "5.0", "South Carolina": "6.7", "South Dakota": "3.8", "Tennessee": "5.6", "Texas": "5.4", "Utah": "4.1", "Vermont": "3.5", "Virginia": "3.6", "Washington": "5.6", "West Virginia": "5.1", "Wisconsin": "4.7", "Wyoming": "3.6", "avg": "5.1", "D.C.": "6.4"}, {"date": "2006", "Alabama": "4", "Alaska": "6.6", "Arizona": "4.2", "Arkansas": "5.2", "California": "4.9", "Colorado": "4.3", "Connecticut": "4.3", "Delaware": "3.6", "Florida": "3.2", "Georgia": "4.7", "Hawaii": "2.6", "Idaho": "3.5", "Illinois": "4.5", "Indiana": "5.0", "Iowa": "3.7", "Kansas": "4.4", "Kentucky": "5.7", "Louisiana": "4.5", "Maine": "4.6", "Maryland": "3.9", "Massachusetts": "4.9", "Michigan": "7.0", "Minnesota": "4.0", "Mississippi": "6.5", "Missouri": "4.8", "Montana": "3.5", "Nebraska": "3.1", "Nevada": "4.0", "New Hampshire": "3.4", "New Jersey": "4.7", "New Mexico": "4.2", "New York": "4.5", "North Carolina": "4.7", "North Dakota": "3.2", "Ohio": "5.4", "Oklahoma": "4.0", "Oregon": "5.3", "Pennsylvania": "4.6", "Rhode Island": "4.9", "South Carolina": "6.4", "South Dakota": "3.1", "Tennessee": "5.2", "Texas": "4.9", "Utah": "3.0", "Vermont": "3.7", "Virginia": "3.1", "Washington": "5.0", "West Virginia": "4.9", "Wisconsin": "4.7", "Wyoming": "3.2", "avg": "4.6", "D.C.": "5.8"}, {"date": "2007", "Alabama": "4", "Alaska": "6.3", "Arizona": "3.9", "Arkansas": "5.3", "California": "5.4", "Colorado": "3.7", "Connecticut": "4.5", "Delaware": "3.4", "Florida": "4.0", "Georgia": "4.5", "Hawaii": "2.8", "Idaho": "3.1", "Illinois": "5.0", "Indiana": "4.6", "Iowa": "3.7", "Kansas": "4.2", "Kentucky": "5.4", "Louisiana": "4.3", "Maine": "4.7", "Maryland": "3.5", "Massachusetts": "4.6", "Michigan": "7.0", "Minnesota": "4.6", "Mississippi": "6.1", "Missouri": "5.1", "Montana": "3.6", "Nebraska": "3.0", "Nevada": "4.5", "New Hampshire": "3.5", "New Jersey": "4.3", "New Mexico": "3.8", "New York": "4.6", "North Carolina": "4.7", "North Dakota": "3.1", "Ohio": "5.6", "Oklahoma": "4.1", "Oregon": "5.2", "Pennsylvania": "4.4", "Rhode Island": "5.2", "South Carolina": "5.7", "South Dakota": "2.8", "Tennessee": "4.7", "Texas": "4.3", "Utah": "2.6", "Vermont": "4.0", "Virginia": "3.0", "Washington": "4.7", "West Virginia": "4.6", "Wisconsin": "4.9", "Wyoming": "2.8", "avg": "4.6", "D.C.": "5.5"}, {"date": "2008", "Alabama": "5.7", "Alaska": "6.7", "Arizona": "6.2", "Arkansas": "5.5", "California": "7.3", "Colorado": "4.8", "Connecticut": "5.7", "Delaware": "4.9", "Florida": "6.3", "Georgia": "6.2", "Hawaii": "4.3", "Idaho": "5.1", "Illinois": "6.3", "Indiana": "5.9", "Iowa": "4.2", "Kansas": "4.6", "Kentucky": "6.4", "Louisiana": "4.9", "Maine": "5.5", "Maryland": "4.2", "Massachusetts": "5.5", "Michigan": "8.0", "Minnesota": "5.4", "Mississippi": "6.6", "Missouri": "6.1", "Montana": "5.1", "Nebraska": "3.3", "Nevada": "6.7", "New Hampshire": "3.9", "New Jersey": "5.3", "New Mexico": "4.5", "New York": "5.4", "North Carolina": "6.1", "North Dakota": "3.2", "Ohio": "6.4", "Oklahoma": "3.7", "Oregon": "6.5", "Pennsylvania": "5.3", "Rhode Island": "7.8", "South Carolina": "6.8", "South Dakota": "3.1", "Tennessee": "6.6", "Texas": "4.8", "Utah": "3.6", "Vermont": "4.7", "Virginia": "3.9", "Washington": "5.4", "West Virginia": "4.3", "Wisconsin": "4.9", "Wyoming": "3.1", "avg": "5.8", "D.C.": "6.5"}, {"date": "2009", "Alabama": "11", "Alaska": "7.7", "Arizona": "9.9", "Arkansas": "7.8", "California": "11.2", "Colorado": "7.3", "Connecticut": "7.9", "Delaware": "8.3", "Florida": "10.4", "Georgia": "9.9", "Hawaii": "7.2", "Idaho": "8.8", "Illinois": "10.2", "Indiana": "10.3", "Iowa": "6.4", "Kansas": "6.9", "Kentucky": "10.3", "Louisiana": "6.8", "Maine": "8.1", "Maryland": "7.0", "Massachusetts": "8.1", "Michigan": "13.7", "Minnesota": "7.8", "Mississippi": "9.5", "Missouri": "9.3", "Montana": "6.8", "Nebraska": "4.6", "Nevada": "11.3", "New Hampshire": "6.2", "New Jersey": "9.1", "New Mexico": "7.5", "New York": "8.3", "North Carolina": "10.6", "North Dakota": "4.1", "Ohio": "10.3", "Oklahoma": "6.4", "Oregon": "11.3", "Pennsylvania": "8.0", "Rhode Island": "11.0", "South Carolina": "11.2", "South Dakota": "4.9", "Tennessee": "10.5", "Texas": "7.6", "Utah": "7.3", "Vermont": "6.6", "Virginia": "6.7", "Washington": "9.2", "West Virginia": "7.7", "Wisconsin": "8.6", "Wyoming": "6.3", "avg": "9.3", "D.C.": "9.3"}, {"date": "2010", "Alabama": "10.5", "Alaska": "7.9", "Arizona": "10.4", "Arkansas": "8.2", "California": "12.2", "Colorado": "8.7", "Connecticut": "9.1", "Delaware": "8.4", "Florida": "11.1", "Georgia": "10.5", "Hawaii": "6.9", "Idaho": "9.0", "Illinois": "10.4", "Indiana": "10.4", "Iowa": "6.0", "Kansas": "7.1", "Kentucky": "10.2", "Louisiana": "8.0", "Maine": "8.1", "Maryland": "7.7", "Massachusetts": "8.3", "Michigan": "12.6", "Minnesota": "7.4", "Mississippi": "10.4", "Missouri": "9.6", "Montana": "7.3", "Nebraska": "4.6", "Nevada": "13.5", "New Hampshire": "5.8", "New Jersey": "9.5", "New Mexico": "8.1", "New York": "8.6", "North Carolina": "10.9", "North Dakota": "3.8", "Ohio": "10.3", "Oklahoma": "6.8", "Oregon": "10.6", "Pennsylvania": "8.5", "Rhode Island": "11.2", "South Carolina": "11.2", "South Dakota": "5.0", "Tennessee": "9.7", "Texas": "8.1", "Utah": "7.8", "Vermont": "6.1", "Virginia": "7.1", "Washington": "10.0", "West Virginia": "8.7", "Wisconsin": "8.7", "Wyoming": "6.4", "avg": "9.6", "D.C.": "9.4"}, {"date": "2011", "Alabama": "9.6", "Alaska": "7.6", "Arizona": "9.5", "Arkansas": "8.3", "California": "11.7", "Colorado": "8.4", "Connecticut": "8.8", "Delaware": "7.5", "Florida": "10.0", "Georgia": "10.2", "Hawaii": "6.8", "Idaho": "8.3", "Illinois": "9.7", "Indiana": "9.1", "Iowa": "5.5", "Kansas": "6.5", "Kentucky": "9.4", "Louisiana": "7.8", "Maine": "7.9", "Maryland": "7.2", "Massachusetts": "7.3", "Michigan": "10.4", "Minnesota": "6.5", "Mississippi": "10.0", "Missouri": "8.5", "Montana": "6.9", "Nebraska": "4.4", "Nevada": "13.0", "New Hampshire": "5.4", "New Jersey": "9.3", "New Mexico": "7.5", "New York": "8.3", "North Carolina": "10.3", "North Dakota": "3.5", "Ohio": "8.8", "Oklahoma": "5.9", "Oregon": "9.5", "Pennsylvania": "7.9", "Rhode Island": "11.0", "South Carolina": "10.6", "South Dakota": "4.7", "Tennessee": "9.0", "Texas": "7.8", "Utah": "6.7", "Vermont": "5.5", "Virginia": "6.6", "Washington": "9.3", "West Virginia": "8.1", "Wisconsin": "7.8", "Wyoming": "5.8", "avg": "8.9", "D.C.": "10.2"}, {"date": "2012", "Alabama": "8", "Alaska": "7.1", "Arizona": "8.3", "Arkansas": "7.6", "California": "10.4", "Colorado": "7.9", "Connecticut": "8.3", "Delaware": "7.2", "Florida": "8.5", "Georgia": "9.2", "Hawaii": "6.0", "Idaho": "7.2", "Illinois": "9.0", "Indiana": "8.3", "Iowa": "5.1", "Kansas": "5.7", "Kentucky": "8.2", "Louisiana": "7.1", "Maine": "7.5", "Maryland": "7.0", "Massachusetts": "6.7", "Michigan": "9.1", "Minnesota": "5.6", "Mississippi": "9.0", "Missouri": "7.0", "Montana": "6.0", "Nebraska": "4.0", "Nevada": "11.2", "New Hampshire": "5.5", "New Jersey": "9.3", "New Mexico": "7.1", "New York": "8.5", "North Carolina": "9.3", "North Dakota": "3.1", "Ohio": "7.4", "Oklahoma": "5.3", "Oregon": "8.8", "Pennsylvania": "7.8", "Rhode Island": "10.4", "South Carolina": "9.2", "South Dakota": "4.3", "Tennessee": "7.8", "Texas": "6.7", "Utah": "5.4", "Vermont": "5.0", "Virginia": "6.0", "Washington": "8.1", "West Virginia": "7.5", "Wisconsin": "7.0", "Wyoming": "5.3", "avg": "8.1", "D.C.": "9.0"}, {"date": "2013", "Alabama": "7.2", "Alaska": "6.9", "Arizona": "7.7", "Arkansas": "7.3", "California": "8.9", "Colorado": "6.8", "Connecticut": "7.8", "Delaware": "6.7", "Florida": "7.3", "Georgia": "8.2", "Hawaii": "4.9", "Idaho": "6.2", "Illinois": "9.1", "Indiana": "7.7", "Iowa": "4.7", "Kansas": "5.3", "Kentucky": "8.1", "Louisiana": "6.7", "Maine": "6.6", "Maryland": "6.6", "Massachusetts": "6.7", "Michigan": "8.8", "Minnesota": "4.9", "Mississippi": "8.6", "Missouri": "6.7", "Montana": "5.4", "Nebraska": "3.8", "Nevada": "9.6", "New Hampshire": "5.1", "New Jersey": "8.2", "New Mexico": "7.0", "New York": "7.7", "North Carolina": "7.9", "North Dakota": "2.9", "Ohio": "7.5", "Oklahoma": "5.3", "Oregon": "7.9", "Pennsylvania": "7.4", "Rhode Island": "9.3", "South Carolina": "7.6", "South Dakota": "3.8", "Tennessee": "7.8", "Texas": "6.2", "Utah": "4.6", "Vermont": "4.4", "Virginia": "5.7", "Washington": "7.0", "West Virginia": "6.7", "Wisconsin": "6.7", "Wyoming": "4.7", "avg": "7.4", "D.C.": "8.5"}, {"date": "2014", "Alabama": "6.8", "Alaska": "6.9", "Arizona": "6.8", "Arkansas": "6.1", "California": "7.5", "Colorado": "5.0", "Connecticut": "6.6", "Delaware": "5.7", "Florida": "6.3", "Georgia": "7.1", "Hawaii": "4.4", "Idaho": "4.8", "Illinois": "7.1", "Indiana": "5.9", "Iowa": "4.2", "Kansas": "4.6", "Kentucky": "6.5", "Louisiana": "6.4", "Maine": "5.6", "Maryland": "5.8", "Massachusetts": "5.7", "Michigan": "7.3", "Minnesota": "4.2", "Mississippi": "7.6", "Missouri": "6.2", "Montana": "4.7", "Nebraska": "3.3", "Nevada": "7.9", "New Hampshire": "4.3", "New Jersey": "6.7", "New Mexico": "6.7", "New York": "6.3", "North Carolina": "6.3", "North Dakota": "2.7", "Ohio": "5.8", "Oklahoma": "4.5", "Oregon": "6.8", "Pennsylvania": "5.9", "Rhode Island": "7.7", "South Carolina": "6.4", "South Dakota": "3.4", "Tennessee": "6.5", "Texas": "5.1", "Utah": "3.8", "Vermont": "4.0", "Virginia": "5.2", "Washington": "6.1", "West Virginia": "6.6", "Wisconsin": "5.4", "Wyoming": "4.1", "avg": "6.2", "D.C.": "7.8"}, {"date": "2015", "Alabama": "6.1", "Alaska": "6.5", "Arizona": "6.1", "Arkansas": "5.2", "California": "6.2", "Colorado": "3.9", "Connecticut": "5.6", "Delaware": "4.9", "Florida": "5.4", "Georgia": "5.9", "Hawaii": "3.6", "Idaho": "4.1", "Illinois": "5.9", "Indiana": "4.8", "Iowa": "3.7", "Kansas": "4.2", "Kentucky": "5.4", "Louisiana": "6.3", "Maine": "4.4", "Maryland": "5.2", "Massachusetts": "5.0", "Michigan": "5.4", "Minnesota": "3.7", "Mississippi": "6.5", "Missouri": "5.0", "Montana": "4.1", "Nebraska": "3.0", "Nevada": "6.7", "New Hampshire": "3.4", "New Jersey": "5.6", "New Mexico": "6.6", "New York": "5.3", "North Carolina": "5.7", "North Dakota": "2.7", "Ohio": "4.9", "Oklahoma": "4.2", "Oregon": "5.7", "Pennsylvania": "5.1", "Rhode Island": "6.0", "South Carolina": "6.0", "South Dakota": "3.1", "Tennessee": "5.8", "Texas": "4.5", "Utah": "3.5", "Vermont": "3.7", "Virginia": "4.4", "Washington": "5.7", "West Virginia": "6.7", "Wisconsin": "4.6", "Wyoming": "4.2", "avg": "5.3", "D.C.": "6.9"}, {"date": "2016", "Alabama": "5.7", "Alaska": "6.8", "Arizona": "5.2", "Arkansas": "4", "California": "5.5", "Colorado": "3.5", "Connecticut": "5.1", "Delaware": "4.3", "Florida": "4.8", "Georgia": "5.2", "Hawaii": "3.2", "Idaho": "3.8", "Illinois": "5.6", "Indiana": "4.4", "Iowa": "4.1", "Kansas": "4.4", "Kentucky": "5.1", "Louisiana": "6.3", "Maine": "4.0", "Maryland": "4.2", "Massachusetts": "3.3", "Michigan": "4.7", "Minnesota": "4.0", "Mississippi": "5.9", "Missouri": "5.1", "Montana": "4.3", "Nebraska": "3.3", "Nevada": "5.5", "New Hampshire": "2.8", "New Jersey": "5.2", "New Mexico": "6.7", "New York": "5.2", "North Carolina": "4.9", "North Dakota": "3.0", "Ohio": "4.9", "Oklahoma": "5.2", "Oregon": "5.3", "Pennsylvania": "5.8", "Rhode Island": "5.5", "South Carolina": "4.7", "South Dakota": "2.8", "Tennessee": "4.8", "Texas": "4.7", "Utah": "3.2", "Vermont": "3.3", "Virginia": "4.2", "Washington": "5.4", "West Virginia": "6.0", "Wisconsin": "4.1", "Wyoming": "5.1", "avg": "4.9", "D.C.": null}] | |
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
.axis path, .axis line { | |
stroke: #ccc; | |
} | |
.axis line { | |
stroke-dasharray: 2; | |
} | |
.axis text { | |
fill: #ccc; | |
} | |
.state text { | |
font-weight: 600; | |
} | |
</style> | |
</head> | |
<body> | |
<script> | |
var width = 250; | |
var height = 200; | |
var margin = {top: 20, right: 30, bottom: 20, left: 30}; | |
var xScale = d3.scaleLinear().range([0, width]); | |
var yScale = d3.scaleLinear().range([height, 0]); | |
var xAxis = d3.axisBottom() | |
.scale(xScale) | |
.ticks(5) | |
.tickFormat(d => "'" + new String(d).slice(2)) | |
.tickSizeInner(-height) | |
.tickSizeOuter(0) | |
.tickPadding(6); | |
var yAxis = d3.axisLeft() | |
.scale(yScale) | |
.ticks(5) | |
.tickFormat(d => d + '%') | |
.tickSizeInner(-width) | |
.tickSizeOuter(0) | |
.tickPadding(6); | |
var line = d3.line() | |
.x(d => xScale(d.year)) | |
.y(d => yScale(d.rate)); | |
var red = '#d8472b'; | |
var dispatch = d3.dispatch('load', 'yearchange') | |
d3.json('data.json', function(err, data) { | |
// console.log(data); | |
var flatData = []; | |
data.forEach(obj => { | |
var year = obj.date; | |
// console.log(obj); | |
for (key in obj){ | |
// console.log(key, obj[key]) | |
if (key !== 'date' && key !== 'avg' && key !== "D.C."){ | |
var state = key; | |
var rate = obj[key]; | |
flatData.push({ | |
year:+year, | |
state:state, | |
rate: +rate, | |
}) | |
} | |
} | |
}) | |
console.log(flatData); | |
var xDomain = d3.extent(flatData, d => d.year) | |
var yDomain = d3.extent(flatData, d => d.rate) | |
xScale.domain(xDomain); | |
yScale.domain(yDomain).nice(); | |
// console.log(xDomain, yDomain) | |
var dataByState = d3.nest() | |
.key(d => d.state) | |
.entries(flatData); | |
// console.log(dataByState); | |
//create svg for each state | |
var svg = d3.select('body') | |
.selectAll('svg') | |
.data(dataByState, d=> d.state) | |
.enter().append('svg') | |
.attr('width', width + margin.left + margin.right) | |
.attr('height', height + margin.top + margin.bottom) | |
.append('g') | |
.attr('transform', 'translate(' + [margin.left, margin.top] + ')'); | |
dispatch.call('load', this, svg, dataByState); | |
//default hovered year to 2016 | |
dispatch.call('yearchange', this, 2016) | |
}); | |
//draw the statis graph for each state | |
dispatch.on('load.graph', (svg,dataByState) =>{ | |
//draw axes | |
svg.append('g') | |
// .attr('class', 'x axis') --alernative to next line | |
.classed('x axis', true) | |
.attr('transform', 'translate(' + [0, height] + ')') | |
.call(xAxis); | |
svg.append('g') | |
.classed('y axis', true) | |
.call(yAxis); | |
//draw lines append + datum, selectAll + data | |
svg.append('path') | |
.datum(d => d.values) | |
.attr('d', line) | |
.attr('stroke', '#c51b8a') | |
.attr('stroke-width', 2) | |
.attr('fill', 'none'); | |
//draw rectagle for hover | |
svg.append('rect') | |
.attr('width', width) | |
.attr('height', height) | |
.attr('opacity', 0) | |
.on('mousemove', function(){ | |
// x, y position of mouse relative to | |
//the container i pass in | |
var [x,y] = d3.mouse(this); | |
var year = Math.round(xScale.invert(x)); | |
// console.log(x,year) | |
dispatch.call('yearchange', this, year); | |
}); | |
}); | |
dispatch.on('load.title', (svg) => { | |
var title = svg.append('text'); | |
dispatch.on('yearchange.title', year => { | |
title.text(d => { | |
var rate = d.values.find(d => d.year === year); | |
rate = rate ? d3.format('.1f')(rate.rate) + '%' : 'N/A'; | |
return d.key + ' (' + rate + ')'; | |
}) | |
}) | |
}); | |
dispatch.on('load.point', svg =>{ | |
var g = svg.append('g'); | |
g.append('circle') | |
.attr('fill', 'red') | |
.attr('r', 5); | |
g.append('text') | |
.attr('font-size', 10) | |
dispatch.on('yearchange.point', year =>{ | |
g.attr('transform',d => { | |
var rate = d.values.find(d => d.year === year); | |
// console.log(d.values) | |
return 'translate(' + [xScale(rate.year), yScale(rate.rate)] + ')' | |
}); | |
g.select('text') | |
.text(d => { | |
var rate = d.values.find(d=>d.year === year); | |
return rate.year + '(' + d3.format('.1f')(rate.rate) + '%)'; | |
}); | |
}); | |
}); | |
</script> | |
</body> |