Explore >> Select a destination


You are here

www.cedricscherer.com
| | statsandr.com
6.4 parsecs away

Travel
| | Learn how to create professional graphics and plots in R (histogram, barplot, boxplot, scatter plot, line plot, density plot, etc.) with the ggplot2 package
| | erdavis.com
7.1 parsecs away

Travel
| | I made a map! And it went viral! Neat! https://twitter.com/erindataviz/status/1489009794245541888 I got a number of requests for the code, so I thought this would be the best forum to share how I made it. To be honest, I whipped this out to quickly to illustrate a concept in Slack, then tweeted it because I liked...
| | kieranhealy.org
8.6 parsecs away

Travel
| | With the 2020 U.S. Census in motion already, I've been looking at various pieces of data from the Census Bureau. I decided I wanted to draw some population pyramids for the U.S. over as long a time series as I could. What's needed for that are tables for, say, as many years as possible that show the number of males and females alive at every year of age from zero to the highest age you're willing to track. This sort of data is available on the Census website. But it tuned out to be somewhat tedious to assemble into a single usable series. (Perhaps it's available in an easy-to-digest form elsewhere, but I couldn't find it.) I initially worked with a couple of the excellent R packages that talk to the Census API (tidycensus and censusapi), hoping they'd give me what I needed. But in the end I wrangled an annual year-of-age series from 1900 to 2019 by grabbing the data from the Census and cleaning it myself. As always, 95% of data analysis is in fact data acquisition and data cleaning.
| | observablehq.com
50.2 parsecs away

Travel
| This notebook will need some maintenance to get things working again, sorry! Still, read on if you're interested in a thought process of figuring out basic hillshading. Sahil Chinoy has a really excellent notebook explaining the basic processes of drawing shaded relief maps in a web browser from digital elevation images, inspired by (and improving!) an old project of mine. It's a great interactive walkthrough of how you can work with a few things-sun elevation, sun azimuth, and terrain elevation data-to pro