allow boxes of different height on the timeline graph
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Hi,
I have a situation where I would like to visualize the burn rate of projects on a timeline. It would be most logical to present this as the height of each box. Currently every row in the timeline graph is of uniform height, and there is no provision for changing the size.
Would it be possible to add a new feature for varying heights within the timeline graph? Something like this (in Plotly Express):
df = pd.DataFrame([
dict(Task="Project A", Start='2009-01-01', Finish='2009-02-28', Burnrate=200),
dict(Task="Project B", Start='2009-03-05', Finish='2009-04-15', Burnrate=75),
dict(Task="Project C", Start='2009-02-20', Finish='2009-05-30', Burnrate=110)
])
fig = px.timeline(df, x_start="Start", x_end="Finish", y="Task", size="Burnrate")
fig.show()
Also, while the boxes can be drawn very slim (low size values), there probably needs to be a minimum row height determined by the label text.
Something similar could probably be built by stacking bar charts or area plots in one facet column, but I think the resulting graph would be too high and might also be visually too complicated.
Cheers,
--Martin
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Plotly Express の timeline エントリーポイントと、提供されている Python の例から始めます。Burnrate に基づくさまざまなボックスの高さと、label によって決まる行の最小高さがどのように動作すべきかを確認し、その後、さまざまなサイズを対象とする timeline の例とテストでこの機能を検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- plotly, python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100