plotly / plotly/plotly.R

geom_GeomCircle() has yet to be implemented in plotly.

オープン
#1,995 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
R
スター
2.7k
フォーク
641
PR マージ指標
30日以内にマージされた PR はありません

説明

Hello,

In short, plotly currently doesn't support geom_circle(), and it would be great to be able to do so.

In this example, I am making a plot of several overlapping circles corresponding to their variable number's size (in this case, tonnes of carbon). It would be great to use plotly to create a hover function that displays each circle's total number of tonnes, for easy reading by the user. I would like to use renderPlotly({}) instead of renderPlot({}) in the following example.

Thanks!

output$carbon_stores_summary_plot <- renderPlot({

        ggplot(data = carbon_data)+
          coord_fixed()+
          geom_circle(aes(x0 = 0, y0 = 1,
                          r = 1),
                      fill = "#7ECBEF",
                      color = NA,
                      n = 10000)+
          geom_circle(aes(x0 = 0, y0 = V/B,
                          r = V/B),
                      fill = "#357D57",
                      color = NA,
                      n = 5000)+
          geom_circle(aes(x0 = 0, y0 = I/B,
                          r = I/B),
                      fill = "#8c007a",
                      color = NA,
                      n = 5000)+
          theme_void()
})

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

提供された geom_circle の例から始め、plotly.R にある現在の renderPlot と renderPlotly の経路を比較します。円、そのサイズ、要求されたホバー値をどのように表現すべきかを確認します。重なり合う円が renderPlotly を通じて描画され、各円の合計値がユーザーに表示されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
r
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。