-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 13.7 KB
/
index.html
1
<!DOCTYPE html><html><head><title>Candina.me</title><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"><link rel="stylesheet" href="public/main.css"></head><body><div class="container"><div id="intro" class="row"><div class="jumbotron"><h1>How much can you make as a US candidate?</h1><input id="search" placeholder="Your name..."><button class="btn btn-primary submit">Calculate</button></div></div><div id="chart-container" class="row hide"><div class="jumbotron"><h3 class="score"></h3><canvas id="chart" width="100%" height="100%"></canvas></div></div><audio autoplay><source src="public/eot.mp3" type="audio/mp3"></audio></div><script src="https://code.jquery.com/jquery-2.2.0.min.js"></script><script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script><script src=" https://cdnjs.cloudflare.com/ajax/libs/Chart.js/1.0.2/Chart.min.js"></script><script>window.names = [{"name":"HILLARY","avg":115563928.67},{"name":"BENJAMIN","avg":54036610.31},{"name":"RAFAEL","avg":23611888.525},{"name":"JEB","avg":16630051.780000001},{"name":"CARLY","avg":11349056.55},{"name":"KAMALA","avg":6000775},{"name":"LINDSEY","avg":5628709.84},{"name":"RUSSELL","avg":4768075},{"name":"DONALD","avg":3513552.16},{"name":"PATRICK","avg":2860516.255},{"name":"CATHERINE","avg":2480182.37},{"name":"RONALD","avg":2447404.2939999998},{"name":"ROHIT","avg":2148682.1},{"name":"LEE","avg":2112893.43},{"name":"GWEN","avg":2031962.52},{"name":"RYAN","avg":1913317.03},{"name":"CHRIS","avg":1847147.2466666668},{"name":"ROY","avg":1846581.49},{"name":"CHERI","avg":1804612.08},{"name":"TED","avg":1795437.82},{"name":"STENY","avg":1772148.5},{"name":"MIA","avg":1746370.05},{"name":"KEVIN","avg":1667299.5299999998},{"name":"SCOTT","avg":1637704.6333333335},{"name":"DARIN","avg":1592221.75},{"name":"JULIA","avg":1573943.66},{"name":"DONNA","avg":1565518},{"name":"KELLY","avg":1562010.6},{"name":"AMERISH","avg":1485683.95},{"name":"TODD","avg":1457734.265},{"name":"BOBBY","avg":1442463.52},{"name":"JOSH","avg":1406423.04},{"name":"SALUD","avg":1385611.75},{"name":"ANN","avg":1371421.2833333334},{"name":"MARLIN","avg":1364558},{"name":"CHRISTOPHER","avg":1290940.49},{"name":"ELISE","avg":1285119.03},{"name":"RICHARD","avg":1260327.73625},{"name":"GARLAND","avg":1174301.05},{"name":"NITA","avg":1165105.17},{"name":"CARLOS","avg":1164557.5699999998},{"name":"JOHN","avg":1156796.056923077},{"name":"MIKE","avg":1148487.574},{"name":"PETE","avg":1094509.83},{"name":"RODNEY","avg":1084268.4433333334},{"name":"MARC","avg":1075816.21},{"name":"MAC","avg":1049699.97},{"name":"LOIS","avg":1033104.71},{"name":"PERRY","avg":1001000},{"name":"CHARLES","avg":990183.337142857},{"name":"XAVIER","avg":987683.32},{"name":"VERNON","avg":983054.18},{"name":"MIMI","avg":972888.74},{"name":"GERALD","avg":952291.65},{"name":"ANDER","avg":935493.35},{"name":"MICHELLE","avg":934228.35},{"name":"MARSHA","avg":931659.04},{"name":"GRANT","avg":917846.89},{"name":"ELIZABETH","avg":913467.26},{"name":"JIM","avg":909621.57},{"name":"RENEE","avg":891176.52},{"name":"BEN","avg":878123.08},{"name":"SUSIE","avg":874897.89},{"name":"ANNA","avg":867194.95},{"name":"CRESENT","avg":864508.42},{"name":"KATHLEEN","avg":862023.77},{"name":"HAKEEM","avg":849869.81},{"name":"CAROLYN","avg":849674.7},{"name":"BARBARA","avg":845846.3966666666},{"name":"GRETCHEN","avg":833657.85},{"name":"GARY","avg":832769.18},{"name":"TULSI","avg":818046.57},{"name":"SEAN","avg":801875.9075},{"name":"JOE","avg":796455.522},{"name":"FREDERICK","avg":790962.71},{"name":"EMILY","avg":786379.45},{"name":"THEODORE","avg":780299.6799999999},{"name":"DEBBIE","avg":773947.1599999999},{"name":"MONICA","avg":754323.94},{"name":"VICENTE","avg":752700},{"name":"GARRET","avg":751495.39},{"name":"ISADORE","avg":722556.38},{"name":"KEITH","avg":714131.24},{"name":"NEAL","avg":702193.34},{"name":"BILL","avg":699227.2366666667},{"name":"DIANE","avg":698388.81},{"name":"BILLY","avg":697846.13},{"name":"KATHERINE","avg":674186.97},{"name":"GEORGE","avg":668186.0366666667},{"name":"JASON","avg":667610.416},{"name":"MORGAN","avg":655515.99},{"name":"GUS","avg":652635.41},{"name":"JEFF","avg":648142.77},{"name":"EARL","avg":646932.46},{"name":"MARY","avg":641568.89},{"name":"STEVE","avg":633578.4522222222},{"name":"MARIO","avg":629832.65},{"name":"LONNIE","avg":625962.71},{"name":"TONY","avg":618319.38},{"name":"VIRGINIA","avg":613296.53},{"name":"NICOLA","avg":601529.34},{"name":"FILEMON","avg":593481.48},{"name":"DAN","avg":591024.26},{"name":"BRENDAN","avg":574585.2},{"name":"DUNCAN","avg":574225.87},{"name":"JACKIE","avg":568196.03},{"name":"MICHAEL","avg":565789.5069565217},{"name":"JAIME","avg":561889.39},{"name":"ROGER","avg":558873.6875},{"name":"ANDREA","avg":557379.875},{"name":"JOAQUIN","avg":556390.51},{"name":"BRADLEY","avg":553759.43},{"name":"RANDOLPH","avg":549868.34},{"name":"ERIC","avg":548821.346},{"name":"ROBIN","avg":547751.43},{"name":"DORIS","avg":546413.77},{"name":"DEREK","avg":543073.21},{"name":"JUDY","avg":541893.04},{"name":"KUMAR","avg":536543.47},{"name":"SUZAN","avg":535452.965},{"name":"BOYCE","avg":526765.41},{"name":"ROSA","avg":519102.23},{"name":"HENRY","avg":519034.455},{"name":"BRAD","avg":516151.02},{"name":"DARRELL","avg":515518.06},{"name":"GREGORY","avg":510234.3925},{"name":"ALAN","avg":508679.18333333335},{"name":"CHARLIE","avg":508271.52},{"name":"KENNY","avg":506334.47},{"name":"SUSAN","avg":500393.01},{"name":"SANFORD","avg":487572.85},{"name":"TREY","avg":486725.8},{"name":"JOSEPH","avg":481077.5375},{"name":"JARED","avg":480506.8},{"name":"KEN","avg":476396.08},{"name":"SUZANNE","avg":474510.78},{"name":"VICKY","avg":474296.31},{"name":"SANDER","avg":472731.45},{"name":"JUSTIN","avg":465867.3333333333},{"name":"ANNETTE","avg":465558.815},{"name":"DERECK","avg":464403.89},{"name":"MARK","avg":463965.6399999999},{"name":"RANDY","avg":461603.83999999997},{"name":"KYLE","avg":460426.605},{"name":"GLENN","avg":459116.33999999997},{"name":"ANTHONY","avg":457203.5},{"name":"DIANA","avg":453998.86},{"name":"BENNIE","avg":449604.92},{"name":"TIMOTHY","avg":448951.16800000006},{"name":"TONIA","avg":447270.33},{"name":"EMANUEL","avg":442241.31},{"name":"ANGELA","avg":440436.79666666663},{"name":"BONNIE","avg":434716.05},{"name":"NANETTE","avg":432987.72},{"name":"JOYCE","avg":424133.11},{"name":"DAVID","avg":424005.9243478261},{"name":"BETTY","avg":422504.29},{"name":"BARON","avg":420052},{"name":"KHATCHIK","avg":418655.34},{"name":"KIP","avg":418236.08},{"name":"LINCOLN","avg":418135.75},{"name":"LEONARD","avg":415430.12},{"name":"RICK","avg":414960.91},{"name":"ADAM","avg":411962.49333333335},{"name":"LINDY","avg":407981.51},{"name":"MATTHEW","avg":407397.32},{"name":"CONNER","avg":403039},{"name":"LYNN","avg":398640.5375},{"name":"ALCEE","avg":396166.45},{"name":"DINA","avg":387424.42},{"name":"MARCY","avg":378568.43},{"name":"STEPHEN","avg":374832.8},{"name":"PETER","avg":372951.26},{"name":"ZOE","avg":371833.465},{"name":"DANNY","avg":371455.04000000004},{"name":"ROBERT","avg":371015.5122222222},{"name":"SAM","avg":368718.22000000003},{"name":"MELISSA","avg":363132.79500000004},{"name":"KATHY","avg":362253.16},{"name":"FRANK","avg":361277.37833333336},{"name":"BRENDA","avg":357917.4},{"name":"WILL","avg":357187.93},{"name":"SAMUEL","avg":356546.13},{"name":"JAMES","avg":352664.7195454545},{"name":"THOMAS","avg":351993.79777777777},{"name":"CURTIS","avg":343923.68},{"name":"ELIOT","avg":343589.86},{"name":"KAY","avg":336217.73},{"name":"EVAN","avg":331812.91000000003},{"name":"WILLIAM","avg":331323.92727272725},{"name":"DWIGHT","avg":327903.91000000003},{"name":"RAYMOND","avg":321578.17},{"name":"RUBEN","avg":318223.7425},{"name":"SIMON","avg":316295.7},{"name":"CARL","avg":310999.49},{"name":"AMIE","avg":309273.8},{"name":"ANDREW","avg":304996.055},{"name":"NORMA","avg":303744.68},{"name":"KAREN","avg":300736.05},{"name":"ALMA","avg":300683.94},{"name":"PAUL","avg":300528.4971428571},{"name":"GREGG","avg":298155},{"name":"JOSE","avg":296221.74},{"name":"INGRID","avg":290821},{"name":"MARCIA","avg":290715.49},{"name":"CORRINE","avg":286601.43},{"name":"ELIJAH","avg":283898.86},{"name":"DOUG","avg":283893.77},{"name":"LUANN","avg":281349.16},{"name":"JODEY","avg":281196.45},{"name":"JODY","avg":280091.48},{"name":"MAXINE","avg":278328.12},{"name":"ROB","avg":277400.8},{"name":"KENNETH","avg":276671.91},{"name":"PAMELA","avg":274109.9},{"name":"LOU","avg":272565.21499999997},{"name":"LLOYD","avg":267644.6},{"name":"YOMI","avg":267485},{"name":"ANDRE","avg":260026.955},{"name":"WILLIE","avg":259737.54999999996},{"name":"DENISE","avg":257870.58500000002},{"name":"FREDERICA","avg":257091.65},{"name":"VINCENT","avg":249243.5},{"name":"NANCY","avg":247121.35},{"name":"DENNIS","avg":246736.67333333334},{"name":"RAUL","avg":245886.05},{"name":"SHELLI","avg":243397.06},{"name":"VALDEZ","avg":243087.19},{"name":"DANIEL","avg":242858.09},{"name":"TOM","avg":241760.8925},{"name":"BARRY","avg":236586.61},{"name":"BRIAN","avg":235837.80500000002},{"name":"BRADY","avg":233452.16},{"name":"LUCY","avg":232443.9},{"name":"JOHNNY","avg":231976.08},{"name":"ALEXANDER","avg":230480.51},{"name":"JEFFREY","avg":229713.34666666668},{"name":"YVETTE","avg":228754.36},{"name":"JUAN","avg":226293.745},{"name":"JILL","avg":217350.85},{"name":"MATT","avg":215823.68000000002},{"name":"LUIS","avg":210982.65},{"name":"JONATHAN","avg":207564.75},{"name":"LOUIS","avg":204504.725},{"name":"BRUCE","avg":190698.08000000002},{"name":"JIMMY","avg":null},{"name":"RALPH","avg":188322.32},{"name":"SANDY","avg":180643.11},{"name":"ANIL","avg":178372.29},{"name":"BRYAN","avg":175808.195},{"name":"AUGUST","avg":175173.5},{"name":"CHAKA","avg":169335},{"name":"SHEILA","avg":168170.55},{"name":"ERIN","avg":164576.585},{"name":"PRISCILLA","avg":160294},{"name":"NYDIA","avg":159917.06},{"name":"YUNGMAN","avg":156960},{"name":"DOUGLAS","avg":155976.172},{"name":"CHRYSOVALANTIS","avg":155188},{"name":"JANE","avg":153618.02},{"name":"WALTER","avg":147471.53000000003},{"name":"KIRK","avg":147069.37},{"name":"STEVEN","avg":146290.11500000002},{"name":"TRENT","avg":140907.08},{"name":"ADRIANO","avg":137486.22},{"name":"DUWAYNE","avg":132548.74},{"name":"COLLEEN","avg":131841.69},{"name":"LIZ","avg":129016.725},{"name":"CHRISTINA","avg":125646.59},{"name":"JORDAN","avg":121507.39},{"name":"PHILIP","avg":113574.32},{"name":"PAULA","avg":111776.55},{"name":"JACQUIE","avg":110825.71},{"name":"WARREN","avg":110699.03666666667},{"name":"JENNIFFER","avg":110250},{"name":"LARRY","avg":108399.14166666666},{"name":"REBECCA","avg":104887.4},{"name":"G.G.","avg":102999.97},{"name":"DARRYL","avg":102693},{"name":"GERALDINE","avg":101760.62},{"name":"CYNTHIA","avg":100084.9},{"name":"VICTORIA","avg":99816.85},{"name":"ROCKY","avg":93697},{"name":"RANDAL","avg":92954.33},{"name":"DOMINICK","avg":92754.96},{"name":"CASEY","avg":83560.34},{"name":"ADRIAN","avg":77664.2},{"name":"APRIL","avg":66834},{"name":"DEBORAH","avg":66722},{"name":"CHET","avg":65715},{"name":"CHIA-CHI","avg":64588.23},{"name":"DOLLY","avg":62459},{"name":"GORDON","avg":58043.5},{"name":"KERITH","avg":57163.09},{"name":"KERRI","avg":55821.28},{"name":"MICHELE","avg":55612},{"name":"HERMAN","avg":55155},{"name":"CHARLENE","avg":54100},{"name":"COLM","avg":50600.36},{"name":"MADELEINE","avg":50457.8},{"name":"PATRICIA","avg":47483.75},{"name":"EDWARD","avg":41819.28},{"name":"ARTHUR","avg":40550},{"name":"CHIP","avg":40141.51},{"name":"MARIA","avg":37912.77},{"name":"DESMUND","avg":34422.88},{"name":"PHILLIP","avg":33900},{"name":"CLAUDIA","avg":33505.5},{"name":"JENNY","avg":32070},{"name":"HOWARD","avg":31137.5},{"name":"STEWART","avg":30949},{"name":"VALERIE","avg":29751},{"name":"ERICKE","avg":28907.05},{"name":"KIMBERLY","avg":28028},{"name":"VALLERI","avg":27824.61},{"name":"NELSON","avg":25885.14},{"name":"JANICE","avg":22734.34},{"name":"ALINA","avg":22355.23},{"name":"MIGUEL","avg":22000},{"name":"ALVIN","avg":20624},{"name":"MALCOLM","avg":17888.96},{"name":"TERRY","avg":16424.76},{"name":"JARRIN","avg":15674.48},{"name":"JOAN","avg":15550},{"name":"JANET","avg":14801.78},{"name":"FATIMA","avg":14645},{"name":"WANDA","avg":14387},{"name":"POWELL","avg":14013.99},{"name":"MARGARET","avg":13790},{"name":"POGO","avg":13536},{"name":"HARLEY","avg":12847.39},{"name":"DEVON","avg":9795},{"name":"OREN","avg":9747.89},{"name":"DALE","avg":9603.44},{"name":"AUMUA","avg":8975},{"name":"TERENCE","avg":8949.47},{"name":"RANCE","avg":8750},{"name":"SAKIMA","avg":8374.01},{"name":"REGINO","avg":8025},{"name":"REGIS","avg":7837.13},{"name":"DUCHY","avg":6500},{"name":"YORK","avg":6415},{"name":"VIOLET","avg":6410},{"name":"KENN","avg":6101},{"name":"BOB","avg":6050},{"name":"BENITO","avg":5284},{"name":"BRANDON","avg":5267.16},{"name":"DWAYNE","avg":5260.14},{"name":"DOMINIQUE","avg":5001},{"name":"ELAINE","avg":5000},{"name":"SCOT","avg":4530},{"name":"PAT","avg":4465.49},{"name":"THUY","avg":4225.28},{"name":"FERNANDO","avg":4179.05},{"name":"JAY","avg":4121.83},{"name":"ALVIS","avg":3920.16},{"name":"JERRY","avg":3658.6666666666665},{"name":"SILVIA","avg":2877},{"name":"LOWELL","avg":2858},{"name":"AUGUSTUS","avg":2760},{"name":"ARCHIE","avg":2695},{"name":"GARDENIA","avg":2328},{"name":"LORI","avg":2108.505},{"name":"COLIN","avg":1947},{"name":"KERRY","avg":1868.3},{"name":"WAYNE","avg":1717},{"name":"AARON","avg":1537.23},{"name":"LASHONDA","avg":1400},{"name":"MICKEY","avg":1075},{"name":"JUN","avg":1000},{"name":"SHIRLEY","avg":961.67},{"name":"GLORIA","avg":500},{"name":"ALLEN","avg":398.47},{"name":"EVELIO","avg":375.08},{"name":"KARIN","avg":306},{"name":"CHAD","avg":247},{"name":"JANIS","avg":227},{"name":"JAMIESON","avg":190},{"name":"TAWANA","avg":170},{"name":"ROSE","avg":110},{"name":"EDDIE","avg":100},{"name":"MIKELIS","avg":51},{"name":"RANDALL","avg":40},{"name":"FRANCIS","avg":20.65},{"name":"TAMI","avg":1.2}];</script><script src="public/app.js"></script></body></html>