https://github.com/corymccartan/hexmap
Hexagonal Cartograms Inside State Boundaries
https://github.com/corymccartan/hexmap
Last synced: 4 months ago
JSON representation
Hexagonal Cartograms Inside State Boundaries
- Host: GitHub
- URL: https://github.com/corymccartan/hexmap
- Owner: CoryMcCartan
- License: other
- Created: 2022-07-27T00:19:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-12T02:36:30.000Z (8 months ago)
- Last Synced: 2025-01-10T23:35:23.601Z (5 months ago)
- Language: R
- Homepage:
- Size: 4.5 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# hexmap
The **hexmap** package automates the process of generating hexagonal cartograms
for the U.S., in the style of the [Daily Kos election maps](https://dkel.ec/map).
Districts are built from hexagons and placed inside state boundaries to best
approximate their real-world geography. States are sized and positioned to
recreate the overall shape of the country while balancing the areas of each
district.## Installation
You can install the development version of hexmap from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("CoryMcCartan/hexmap")
```