block by micahstubbs 6e82f440f7316dec01ccf951de7ff61d

Albers USA with Puerto Rico

Full Screen

forked from Albers USA with Puerto Rico by @Harry_Stevens

Code style changes to improve legibility.


Create a resizable map with an Albers USA projection that includes Puerto Rico. Adapted from this block but compatiable with D3 v4 & v5 and including a fitSize() function to help with resizing.

index.js

index.html

albers-usa-pr.js

prettier.config.js