plotly / plotly/react-plotly.js

Choropleth plot doesn't appear to have geojson prop

Open
#304 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
138
Avg merge
3d 2h
Merged PRs (30d)
4

Description

When I'm looking at the documentation it looks like I can set the locationmode: geojson-id and for the type: choropleth and should then be able to set the geojson prop to a geojson object, but that property does not appear to exist on the component, it certainly does not on the typescript. Any advice?

Contributor guide

No contributing guide indexed for this repository

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 React component and its TypeScript declarations, then compare the documented choropleth locationmode and geojson behavior with the wrapper's exposed props. Done means the supported behavior is exposed in the component and types, or the documentation clearly explains the limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.