plotly / plotly/plotly.R

geom_circle not implemented in plotly

Open
#2,132 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description


Receive the below ERROR when trying to use plotly. Works perfectly fine outside of plotly.

geom_GeomCircle() has yet to be implemented in plotly.
If you'd like to see this geom implemented,
Please open an issue with your example code at
https://github.com/ropensci/plotly/issues

 ggp <- ggplot(positions_updated, aes(x=.data[[Issue3]], y=.data[[Issue4]], label=Stakeholder)) +
      geom_circle(aes(x0=.data[[Issue3]], y0=.data[[Issue4]], r=distance, fill=Stakeholder),alpha=.1, inherit.aes=FALSE) +
      geom_text() +
      #ggtitle("Spatial Bargaining") +
      coord_fixed() +
      theme(legend.position = "bottom") +
      xlab(Issue3) +
      ylab(Issue4) 
    ggp + geom_point(aes(x=status_quo_x, y=status_quo_y))

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

No implementation file or test is named. Start by reproducing the supplied R example and tracing how plotly handles ggplot geoms, then determine the entry point for geom_circle. Done means the example renders without the current "geom_GeomCircle() has yet to be implemented" error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.