Drop #367 (2023-11-04): Weekend Project Edition

Map Modification

So, the decision to try to dedicate some time to the 30-Day Map Challenge likely was super daft. It’s part of the reason for the tardiness of the WPE. It, again, ate into the free wee hours time, and the fam got my (unusually) scant few intraday break periods on Friday.

This is an “easy” one if you know a bit of JavaScript, so a day’s publishing delay likely won’t have prevented folks who do try to take on these WPEs from finishing it.

child looking at map

Riff On A Riff

The Gerrymandering Project (GP) is an initiative that aims to bridge the gap between mathematics and the law to achieve fair representation through redistricting reform. The project uses a unique set of analytics to grade each state’s newly-drawn maps during the redistricting process, which happens every 10 years to account for changes in population.

My “Day 3” entry for the #30DayMapChallenge used GP’s data to build a U.S. state districts viewer, focused on their computed “competitiveness” score (i.e., how competitive that district’s seat races are). It’s cool since I don’t have to get into “red/blue” side-taking. Both major parties in the U.S. are pretty horrible when it comes to this gerrymandering thing (but at least one of them didn’t and isn’t violently trying to turn us into an anocracy/eventual autocracy).

Technically, my entry riffs on what GPs own site does (it has a map viewer as well, but based on mapbox tech). Here’s their entry for my state over there.

Your Mission

Fork my Observable notebook and:

Option 1: Fix some of the rendering foibles for places like Hawaii (it’s super hard to see, and the field I use in the subtitle is missing):

Option 2: Take some of the data I did not use in the s variable (yes, you should 100% judge me for my non-semantically named variables in this notebook) and use it to fill the choropleth instead:

Option 3: Add tooltips to the polygons.

FIN

Again, apologies for the delay and for leaning a bit heavily on 30DMC for a few Drops this week. Will def try to plan better for the remainder of the month.

The weekly Bonus Drop will 100% be out tomorrow for paid subscribers! ☮️

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.