Multiscale density mark / spatial interpolator?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- d3js
调研方向
从链接的 Observable multiscale-density spatial interpolator 开始,并将其与现有的 density mark、spatial interpolator、initializer 和 raster mark 入口进行比较。范围尚未确定;可能的完成内容包括选择 API 方向,并处理 notebook 中关于栅格框架外点以及 weight 选项的 TODOs。
由索引模型根据 Issue 内容生成。
描述
As pioneered by @jwolondon, it's a sum of the density field at several harmonic bandwidths (1, 2, 4, 8, 16, 32, 64px) weighted by 1, 4, 9, 25, 36, 49.
I did a basic implementation (11 lines of code) as a spatial interpolator that iterates d3.blur2
https://observablehq.com/@fil/multiscale-density-spatial-interpolator.
(It could be seen as a new option for the density mark, or maybe we should subsume the density mark into a spatial interpolator + initializer.)
An advantage of using a spatial interpolator is that we can use it with the raster mark — we don't have to run a contouring algorithm. A disadvantage is that we don't get to set the color scale… but that can be fixed by using an initializer—which would also be necessary to normalize across facets.
There are a few more TODOs, listed in the notebook:
- to not ignore points outside the raster frame
- to add a weight option
We might want to scale the bandwidth (the "kilometer" in the original notebook is about 1.5 pixels, but it's complicated because d3.blur2 with a very small radius does not map linearly to the gaussian bandwidth… see https://observablehq.com/@d3/d3-blur for details).
- 主要语言
- HTML
- 星标
- 5.4k
- 派生
- 246
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
observablehq/plot 的其他 Issue
-
[Types] Wrong recursion in Mark’s _tip_ option可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
observablehq/plot#2459 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 68/100
observablehq/plot#2453 ·
-
Inconsistent type definition of _scale_._transform_可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭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 于 38 天前认领,目前没有进行中的 PR。 未关闭documentation
难度 2/5 1-3 小时 新手友好度 72/100
observablehq/plot#1533 · 3 条评论 · 1 个 reaction ·
查看 observablehq/plot 的全部 Issue
相似的 Issue
-
evaluation
难度 2/5 1-3 小时 新手友好度 68/100
-
Tracking: Submit errors aren't tracked in the transaction flow可能已有人在做 @oceans404 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
stellar/laboratory#2212 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
Graphify-Labs/graphify#4241 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug: dual_axis_lines() crashes on 2D column vectors and mutates caller opts in-place可能已有人在做 @rishi919-rgb 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 6 天内回复
-
beginner friendly community contributions-welcome documentation good first issue hacktoberfest help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复