yimbymelbourne / data

https://yimbymelbourne.observablehq.cloud/data-portal
1 stars 0 forks source link

Refactor and add side-by-side map #19

Closed MaxwellBo closed 1 month ago

MaxwellBo commented 1 month ago
  1. I did some refactoring so that we don't have to do joins in fill and tooltip methods
  2. I thought it would be nice to have a nice "printable" comparison. We lose the dynamic color domain for the 2D variant in exchange for better "AFR-ability"
image
elyobo commented 1 month ago

Added my suggested tweaks but it's pro/con; having a house only and a unit only geojson does mean you can skip checks when extracting data. OTOH optional chaining makes it pretty painless.

I think the side by side maps are great, worth losing the dynamic range to get that!