plotly / plotly/plotly.js

add Puerto Rico and other territories to U.S. states geo choropleth

Open
#3,636 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P2
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

I'd like the option of adding U.S. territories (specifically Puerto Rico) to the U.S. states choropleth, especially in plotly.js. Ideally, the territories would float below the U.S. map similarly to Alaska and Hawaii. Puerto Rico should especially be added because it's so close to becoming a state. For people who only need the 50 states, it should be an option to include or exclude different territories.

I've asked if it's possible twice within the plotly community forums and have also researched on stackoverflow and elsewhere online--seems like this feature does not exist yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the plotly.js U.S. states choropleth implementation and its geographic data. Compare how Alaska and Hawaii are positioned, then determine how Puerto Rico and other territories could be included or excluded. Done means the map supports the requested territories while preserving a 50-state-only option.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.