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
| geography | pop | tests | rateper10000 | deaths | death per 100,000 | |
|---|---|---|---|---|---|---|
| Apache | 71522 | 2232 | 312.0718101 | |||
| Navajo | 108705 | 2621 | 241.1112644 | |||
| Gila | 53400 | 634 | 118.7265918 | |||
| Coconino | 140217 | 1553 | 110.7568982 | |||
| Pinal | 419721 | 4732 | 112.7415593 | |||
| Yavapai | 224645 | 2369 | 105.4552739 | |||
| Maricopa | 4253913 | 46539 | 109.4028016 | 140 | 3.291087523 | |
| Arizona | 6946685 | 74879 | 107.7909823 | 304 | 4.376188067 | |
| Greenlee | 9504 | 92 | 96.8013468 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file has been truncated, but you can view the full file.
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
| { | |
| "type": "FeatureCollection", | |
| "name": "ddd", | |
| "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::3857" } }, | |
| "features": [ | |
| { "type": "Feature", "properties": { "OBJECTID": 232, "PRECINCT": 153, "DIST_CON": 2, "DIST_LEG": 3, "vote_area": 41, "COUNTY NUMBER": null, "PRECINCTCODE": 41, "PRECINCTNAME": 41, "VOTERS": 1672, "BALLOTS CAST": 987, "BALLOTS CAST_1": 0, "KLOBUCHAR, AMY": 10, "GABBARD, TULSI": 4, "DE LA FUENTE, ROQUE \"ROCKY\"": 1, "CASTRO, JULIÁN": 0, "DELANEY, JOHN": 0, "BUTTIGIEG, PETE": 30, "BLOOMBERG, MICHAEL R.": 77, "WILLIAMSON, MARIANNE": 1, "YANG, ANDREW": 2, "STEYER, TOM": 0, "PATRICK, DEVAL": 0, "SANDERS, BERNIE": 344, "ELLINGER, MICHAEL": 0, "BENNET, MICHAEL": 0, "HEWES, HENRY": 0, "BOOKER, CORY": 0, "WARREN, ELIZABETH": 67, "BIDEN, JOSEPH": 449, "votearea_int": 41 }, "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -111.017061323072724, 32.279701874238135 ], [ -111.017138922032515, 32.27979363376901 ], [ -111.017189888417619, 32.279853899482561 ], [ -111.01722 |
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 lang="en" dir="ltr"> | |
| <body> | |
| <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""> | |
| <script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og==" crossorigin=""></script> | |
| <script src="https://d3js.org/d3.v4.min.js"></script> | |
| <style> |
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> | |
| <style> | |
| .counties { | |
| fill: none; | |
| } | |
| .states { | |
| fill: none; | |
| stroke: grey; | |
| stroke-linejoin: round; | |
| } |
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
| const fs = require('fs'); | |
| const path = require('path'); | |
| const csv = require('fast-csv'); | |
| //Read pima county precincts | |
| let rawdata = fs.readFileSync('Voter_Precincts.geojson'); | |
| let precinctsPima = JSON.parse(rawdata); | |
| // Read election results |
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> | |
| <style> | |
| .counties { | |
| fill: none; | |
| } | |
| .states { | |
| fill: none; | |
| stroke: #fff; | |
| stroke-linejoin: round; | |
| } |