Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Label data with values from two columns

Offen
#34 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
65/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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?

Vorherrschende Sprache
Common Lisp
Sterne
38
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Lisp-Stat/plot

Alle Issues in Lisp-Stat/plot

Ähnliche Issues

Weitere Issues zu Data Visualization

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.