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

Label data with values from two columns

Aperta
#34 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva

Direzione di ricerca

Look at the plot library's DSL for specifying color and legend mappings, likely in the geom:point definition. Check examples of multi-series plots in the documentation or test suite. The goal is to produce a Vega-Lite spec that encodes both p and n (perhaps using color for one and facet or shape for the other) to replicate the binomial distribution figure.

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

Descrizione

Hello,

I would like to reproduce the figure from Wikipedia's page on the bionmial probability: image link

I would assume that my data should have 4 columns:

  • k (x-axis)
  • probability (y-axis)
  • p (holding values 0.5 and 0.7)
  • n (holidng values 20 and 40)

How to specify p and n for color (and thereby legend I assume)? Right now I have (approximately)

                               (geom:point :k :probability :color :p)

Is this the right place to ask these questions. Or is reddit's Common Lisp channel better?

Lingua principale
Common Lisp
Stelle
38
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

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 Lisp-Stat/plot

Tutte le issue di Lisp-Stat/plot

Issue simili

Altre issue su Data Visualization

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.