Extend multicategory axes to more than 2 levels
還沒有人認領這個 Issue。
- 主要語言
- JavaScript
- 星號
- 18.3k
- 分支
- 2k
- 平均合併
- 2 天 12 小時
- 30 天內合併 PR
- 28
描述
This is a request to add nested categorical axes. These are often used in "variability charts", examples of which can be seen here.
There's a few ways this could be implemented in practice. Rather than passing an array of values for y the user could pass an object like:
{
"popcorn": ["gourmet", "gourmet", "plain", ...]
"batch": ["large", "small", "large", ...]
...
}
or simply pass a category name / number (1 or "gourmet-large-little") and pass the nesting information for the axis in the layout section.
(I was surprised not to find an open issue for this -- it's possible that there is one but I didn't search using the right terms).
Edit: There is some limited support for this as shown here but it involves hacking the axis together by hand and would be difficult to use in an automated manner.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先檢視連結的 Plotly 軸文件與變異性圖表示例中所描述的現有限制性子類別軸支援。釐清 API 應接受巢狀類別陣列,還是接受版面配置層級的巢狀中繼資料,然後追蹤目前 multicategory 軸的行為。當巢狀分類軸無需手動建構即可自動運作時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- data-visualization
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100