Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Spatial interpolator reducers

Aperta
#2,034 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
d3

Direzione di ricerca

Non vengono indicati file di implementazione, test o punti di ingresso. Inizia individuando l’interpolatore spaziale e definendo l’ambito supportato del reducer, comprese le limitazioni quantitative, il comportamento del dominio dei colori, i contorni e le prestazioni. Il lavoro è completato quando l’API del reducer e il suo comportamento sono specificati e implementati, con la copertura dei casi selezionati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement geo

The default spatial interpolator applies the current value to the current position, resulting in a "last" binning reducer. We could implement others (thinking out loud for now):

  • "first" is the easiest: just don't overwrite if a value is already present
  • "sum" is easy too (though it applies only to quantitative values), with a caveat that the color domain will have to be set by hand as it will almost always be wrong (it's based on the input values sent to the interpolator); the contours should work directly
  • "random sample" and "mean" can be done by keeping a separate track of the count; ("mean" expects the value to be quantitative)
  • "median" (and any other reducers, including custom functions) need to keep track of all the values, so that's probably not going to be great performance-wise, unless we can have iterative reducers
Lingua principale
HTML
Stelle
5.4k
Fork
250
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di observablehq/plot

Tutte le issue di observablehq/plot

Issue simili

Altre issue su Data Visualization

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.