A scale for the strokeWidth channel?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- d3
調査の方向性
リンクされている有限状態機械の例とリンクされているマップの再現から始め、次に Plot が strokeWidth チャネルとその range/type 設定をどのように解釈するかを追跡します。マップが手動で値を分割しなくてもチャネルを通じて線幅を変えられ、意図したスケーリング動作が検証されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The finite state machine example shows the use of strokeWidth as a channel to vary widths. But getting this going on a map is proving tricky:
https://observablehq.com/@jimjamslam/vary-stroke-width-on-map
Without varying stroke widths I see the expected links. But once I add strokeWidth as a channel, the values appear to be interpreted literally, making them too large enough to overwhelm the plot. (I can see them vary if I manually scale the values with something like strokeWidth: d => d.count / 100.
I've tried adding a strokeWidth object with a range and type: "log", but that doesn't seem to get me the result I'm looking for, unfortunately!
- 主要言語
- HTML
- スター
- 5.4k
- フォーク
- 250
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
observablehq/plot のほかの issue
-
[Types] Wrong recursion in Mark’s _tip_ option再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
observablehq/plot#2459 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
observablehq/plot#2453 ·
-
Inconsistent type definition of _scale_._transform_対応中かも @SahinurDEV が 4 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
observablehq/plot#2451 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
observablehq/plot#2447 · コメント 2 件 ·
-
Channel documentation with a section describing z再び着手できるかも @LeonxLJX が 41 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
observablehq/plot#1533 · コメント 3 件 · リアクション 1 件 ·
observablehq/plot の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
HappyHackingSpace/Misko#234 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
arviz-devs/arviz-plots#587 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Reopened PRs are incorrectly excluded from "New PRs still open" in Weekly Digest対応中かも @anshuman83-40 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
AOSSIE-Org/Gitcord-GithubDiscordBot#143 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信