I caught a re-tweet of this tweet by @harry_stevens: THREAD: I wrote a post on @observablehq about a map I made today. It shows a typical day in the life of a graphics journalist: You never know what problems you'll have to solve on deadline! https://t.co/yRhW1wbLxN #d3js #dataviz 1/7 pic.twitter.com/7N6mmK0nz3 — Harry Stevens (@Harry_Stevens) May… Continue reading
Post Category → cartography
GeoJSON Version of CBC Quebec Ridings Hex Cartograms with Example Usage in R
The CBC covered the recent (as of the original post-time on this blog entry) Quebec elections and used a well-crafted hex grid map to display results: They have a great ‘splainer on why they use this type of map. Thinking that it may be useful for others, I used a browser Developer Tools inspector to… Continue reading
Quick Hit: Using the New Equal Earth Projection in R
In my semi-daily run of brew update I noticed that proj4 had been updated to 5.2. I kinda “squeee“‘d since (as the release notes show) the Equal Earth projection was added to it (+proj=eqearth). As the team who created the projection describes it: “The Equal Earth map projection is a new equal-area pseudocylindrical projection for… Continue reading
voteogram Is Now On CRAN
Earlier this year, I made a package that riffed off of ProPublica’s really neat voting cartograms (maps) for the U.S. House and Senate. You can see one for disaster relief spending in the House and one for the ACA “Skinny Repeal” in the Senate. We can replicate both here with the voteogram package (minus the… Continue reading
Plot the Vote: Making U.S. Senate & House Cartograms in R
Political machinations are a tad insane in the U.S. these days & I regularly hit up @ProPublica & @GovTrack sites (& sub to the GovTrack e-mail updates) as I try to be an informed citizen, especially since I’ve got a Senator and Representative who seem to be in the sway of ?. I’ve always appreciated… Continue reading
U.S. Drought Animations with the “Witch’s Brew” (purrr + broom + magick)
This is another purrr-focused post but it’s also an homage to the nascent magick package (R interface to ImageMagick) by @opencpu. We’re starting to see/feel the impact of the increasing drought up here in southern Maine. I’ve used the data from the U.S. Drought Monitor before on the blog, but they also provide shapefiles and… Continue reading
Easier Composite U.S. Choropleths with albersusa
Folks who’ve been tracking this blog on R-bloggers probably remember [this post](https://rud.is/b/2014/11/16/moving-the-earth-well-alaska-hawaii-with-r/) where I showed how to create a composite U.S. map with an Albers projection (which is commonly referred to as AlbersUSA these days thanks to D3). I’m not sure why I didn’t think of this earlier, but you don’t _need_ to do those… Continue reading
Nuclear Animations in D3
As I said, I’m kinda obsessed with the “nuclear” data set. So much so that I made a D3 version that’s similar to the R version I made the other day. I tried not to code much today (too much Easter fun going on), so I left off the size & color legends, but it… Continue reading