JavaScript

Thumbnail showing Younkin winning the GOP nomination for governor.

In 2020, The Virginia GOP decided to run a multi-round, ranked-choice election where delegates' votes were weighted based on where they lived. Despite having only a week to design and build the pages, we created a live election results page. I built the front-end code in d3 and Svelte, as well as much of the server-side code in Django.

Screenshot of a form allowing users to submit public records requests.

For my master's thesis in Stanford's journalism program, I'm working on a project that involves getting records from a lot of different municipalities.

For data journalists, this is a pretty common problem. A lot of information journalists seek — death records, inspection records, you name it — is collected at the state, county, or municipal level. And data journalists often want to analyze that information across a wide geographic area.

In order to manage this work, I created a Django tool for filing public records requests to multiple agencies at once. I used an early version of this, django_sourcebook, to file requests for a reporting project. Since then, I've worked on building a more interactive version with authentication and tests. That project is foia_integration.

Line graph showing the rise in testing and confirmed cases of coronavirus in the United States, from less than 1,000 tests and 118 confirmed cases on March 4 to over 1 million tests and over 180,000 confirmed cases by March 31.

Coronavirus cases have been growing rapidly in the United States, from only around 100 positive tests across the entire country on March 4 to over 5,000 less than two weeks later.

Some of that growth is because testing has become much more available. But the disease itself also poses an enormous threat, holding the potential to overwhelm our health care system.

Using data from the COVID Tracking Project, see how positive and total test results have grown across the country since March 4.

Map showing county-by-county results for Tim Kaine's 2018 Senate win over the Republican challenger, Corey Stewart

I wrote the front-end and back-end code to display precinct-level election results for northwest Virginia during the 2018 midterms.

As part of this process, I requested precinct shapefiles from 27 localities in Virginia; cleaned and joined the shapefiles using PostgreSQL and PostGIS; wrote code in Python to scrape the results and push them to an AWS S3 bucket; and wrote front-end code in d3 to display the results. I additionally set up an EC2 instance and ran the Python script from there so the script could continue running even if something happened to my computer locally.

Map showing the locations of 260 breweries in Virginia in August 2018

In a one-year period, Strasburg, Virginia — a town of 6,000 people — saw two new breweries come in. A nearby town, Front Royal, also had a new brewery come in that year. I wanted to see what got the owners to start their breweries and why Virginia as a whole had seen such a large spike in the number of new craft breweries.

I interviewed people at two of the three new breweries in our region, helping me identify a new law that helped one of them come into existence. I also conducted some analysis in Python and built a visualization in d3 to demonstrate how fast the growth had been.