Better support for dates in the raster mark
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- d3
調査の方向性
src/marks/raster.js の InterpolateNone から始め、月次日付の例についてリンク先の Observable notebook を確認してください。提案されている丸め動作を、x と y の個別の制御、または時間の自動処理の必要性と比較してください。選択した動作が仕様として定義され、月次日付が目に見えるバンディングなしでレンダリングされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The naive implementation does not work because it has banding issues due to quantization on the date axis.
In the example below we have monthly data. Even with the correct width (corresponding to the number of different months), some months are rounded down to the pixel on their left hand side. This happens because the rounding in InterpolateNone is made by flooring the date divided by the average length of a month. (And months expressed in milliseconds are not uniform.)
An easy way to fix this would be to allow changing the interpolator to use Math.round instead of Math.floor:
We could call this interpolator: "round". However we might want more control on x vs y, so maybe we need more options. It would also be nice to auto-apply rounding when the dimension is temporal?
Notebook exploration: https://observablehq.com/@observablehq/plot-raster-dates-2351
- 主要言語
- HTML
- スター
- 5.4k
- フォーク
- 246
- 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_対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン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 が 37 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
observablehq/plot#1533 · コメント 3 件 · リアクション 1 件 ·
observablehq/plot の issue をすべて見る
似ている issue
-
Tracking: Submit errors aren't tracked in the transaction flow対応中かも @oceans404 が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
stellar/laboratory#2212 ·
メンテナーはふだん 4 日以内に返信
-
[Bug]: `graphify export svg` writes a graph.svg that is not well-formed XML when a label contains a control character対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Graphify-Labs/graphify#4241 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Netflo]: Data volume unites for netflow Top-N Dashboard are shown in bytes it should be in MB,GBオープンIntegration:netflow needs:triage Team:Integration-Experience
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
elastic/integrations#21920 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ai-discovered area: data explorer
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
fix(plot): support accelerator tensors in plotting utilities対応中かも @YashDoesCode が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信