Versions in this module Expand all Collapse all v0 v0.2.0 May 27, 2026 Changes in this version + const ViolinResolution + func AttachDatum(marks []scene.Mark, layerID string, rowCount int) + func AttachKeys(marks []scene.Mark, tbl *table.Table, field string) + func AttachTooltips(marks []scene.Mark, tooltips []*scene.Tooltip) + func BuildTooltips(tbl *table.Table, ch *spec.TooltipChannel, rowCount int) []*scene.Tooltip + func Encode(markType string, in Inputs) ([]scene.Mark, *scene.Warning, error) + func Quantile(sorted []float64, q float64) float64 + func SequentialColor(v, mn, mx float64) *scene.Color + func SkipNullRows(tbl *table.Table, fields ...string) (kept []int, dropped int, offending []string) + type BandScaler interface + BandWidth func() float64 + type BoxplotSummary struct + Group string + Max float64 + Median float64 + Min float64 + Outliers []float64 + Q1 float64 + Q3 float64 + ReachHi float64 + ReachLow float64 + func ComputeBoxplotSummaries(in Inputs) ([]BoxplotSummary, error) + type Channel struct + Field string + Scale Scale + type ColorChannel struct + Categories []string + Field string + Palette []*scene.Color + type HistogramResult struct + BinEdges []float64 + Counts []int + Marks []scene.Mark + XScale *scale.LinearScale + YScale *scale.LinearScale + func EncodeHistogram(in Inputs) (*HistogramResult, error) + type Inputs struct + Color *ColorChannel + Feature Channel + GeoStore geodata.Store + GeoTier geodata.Tier + KeyField string + Latitude Channel + LayerID string + Layout scene.Rect + Longitude Channel + Mark *spec.MarkDef + Projection projection.Projection + Source Channel + Style scene.Style + Table *table.Table + Target Channel + Tooltip *spec.TooltipChannel + Value Channel + X Channel + Y Channel + type SankeyLayout struct + Links []SankeyLink + Nodes []SankeyNode + func ComputeSankeyLayout(in Inputs) (*SankeyLayout, error) + type SankeyLink struct + SX float64 + SY float64 + Source string + TX float64 + TY float64 + Target string + Value float64 + Width float64 + type SankeyNode struct + Column int + Depth int + H float64 + ID string + Inflow float64 + Outflow float64 + Rank int + W float64 + X float64 + Y float64 + type Scale interface + Apply func(value any) (float64, error) + Domain func() []any