plotly / plotly/react-plotly.js

Trigger click on treemap tile

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

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

主要言語
JavaScript
スター
1.1k
フォーク
138
平均マージ
3日 2時間
マージ済み PR(30日)
4

説明

https://plotly.com/javascript/treemaps/

I have a treemap that has nested leaves.

  • root > category > protocol

When the treemap initializes, it starts by showing all the categories at the root, but I have a dropdown selector component outside of the chart that I want to be able to select a category through and it will have the ability to update the chart to simulate what would essentially be a mouse click on the category tile, which would zoom into that specific category and it's nested protocols?

Is there a simple way to indicate to plotly to pan to that category based on the category selected from a separate component?

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

調査の方向性

リンクされた Plotly treemap ドキュメントと react-plotly.js チャートの更新動作から始めます。root > category > protocol の treemap が外部選択にどのように応答するかを確認し、次にドロップダウンから category を選択したときに、その tile を選択した場合と同じズームされたビューが生成されることを検証します。

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

評価

技術スタック
javascript, react
領域
data-visualization, frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
28/100

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

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