ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

I really liked this idea of using a histogram as a legend in a choropleth map (since land isn't unemployed; people are), so I made a little guide to doing it with #rstats, {ggplot2}, and {patchwork} www.andrewheiss.com/blog/2025/02...

Feb 19, 2025, 5:58 PM

Record data

{
  "uri": "at://did:plc:2zcfjzyocp6kapg6jc4eacok/app.bsky.feed.post/3like2os2d22c",
  "cid": "bafyreicsvvgnk52diqplbjjk253ldcqmm7syczi4advulaqwuwhopiosbe",
  "value": {
    "text": "I really liked this idea of using a histogram as a legend in a choropleth map (since land isn't unemployed; people are), so I made a little guide to doing it with #rstats, {ggplot2}, and {patchwork}\n\nwww.andrewheiss.com/blog/2025/02...",
    "$type": "app.bsky.feed.post",
    "embed": {
      "$type": "app.bsky.embed.recordWithMedia",
      "media": {
        "$type": "app.bsky.embed.external",
        "external": {
          "uri": "https://www.andrewheiss.com/blog/2025/02/19/ggplot-histogram-legend/",
          "thumb": {
            "$type": "blob",
            "ref": {
              "$link": "bafkreibowqrttmvccdb2g6eiuf7nyjwua5sssn2p62yxooswnpmwvietmm"
            },
            "mimeType": "image/jpeg",
            "size": 336062
          },
          "title": "How to use a histogram as a legend in {ggplot2} | Andrew Heiss",
          "description": "Land isn’t unemployed—people are. Here’s how to use R, {ggplot2}, {sf}, and {patchwork} to create a histogram legend in a choropleth map to better see the distribution of values."
        }
      },
      "record": {
        "$type": "app.bsky.embed.record",
        "record": {
          "cid": "bafyreie7p53azufcxdf33wbyvflauydhtf5e352344xy7fhh4q6anwzufi",
          "uri": "at://did:plc:jt65vu3tx736jruey6fx2hs2/app.bsky.feed.post/3lbs67ic5bc2w"
        }
      }
    },
    "langs": [
      "en"
    ],
    "facets": [
      {
        "index": {
          "byteEnd": 170,
          "byteStart": 163
        },
        "features": [
          {
            "tag": "rstats",
            "$type": "app.bsky.richtext.facet#tag"
          }
        ]
      },
      {
        "index": {
          "byteEnd": 235,
          "byteStart": 200
        },
        "features": [
          {
            "uri": "https://www.andrewheiss.com/blog/2025/02/19/ggplot-histogram-legend/",
            "$type": "app.bsky.richtext.facet#link"
          }
        ]
      }
    ],
    "createdAt": "2025-02-19T17:58:30.133Z"
  }
}