static/district.js
// requires state as a USPS code and district as a string of the number
requires state as a USPS code and district as a string of the number
requires state as a USPS code and district as a string of the number
function loadData(state, district) {
    $(document).attr("title", states[state]["name"]+" "+district);
    $('#title').text(states[state]["name"]+" "+district);
    if (district < 10) {
        district = "0"+district;
    }
    reCenterMap(state, district);
    updateCensusCharts(states[state]["FIPS"], district);
}
function loadData ( state , district ) { $ ( document ) . attr ( "title" , states [ state ] [ "name" ] + " " + district ) ; $ ( '#title' ) . text ( states [ state ] [ "name" ] + " " + district ) ; if ( district < 10 ) { district = "0" + district ; } reCenterMap ( state , district ) ; updateCensusCharts ( states [ state ] [ "FIPS" ] , district ) ; }
requires state as a USPS code and district as a string of the number
requires state as a USPS code and district as a string of the number