area106 members
Data & charts
Tables of data, queries, and charts with scales, marks and axes.
Start here
DrawCanvas:chartCarve a PlotArea out of this canvas for charting.DrawCanvas:chartsCarve a rows x cols grid of PlotAreas out of this canvas for faceting / subplots, returned row-major from the top-left.Bytes:csvDecode the bytes as CSV into a DataHandle.Bytes:parquetDecode the bytes as Parquet into a DataHandle.
In this area
- datumhue.chart.scaleConstruct shared scales (data → pixels / data → color) for chart marks.
- DataHandleOpaque tabular-data handle produced by
bytes:csv()andbytes:parquet(). - DataBatchA batch of rows produced by
h:batches(). - DataColumnA typed column inside a
DataBatch. - SchemaReturned by
DataHandle:schema(): the data's columns, by name or by position, and its metadata. - FieldReturned by
Schema:field(...)and yielded bySchema:fields(). - DataViewViewport-aware downsampled projection of a
DataHandle. - ScaleThe data-domain side of a chart mapping (linear, log, band, or time).
- MarkA rendered mark (line / points / area / bars / rule / text) inside a plot area.
- PlotAreaA plot area inside a canvas, created by
canvas:chart(opts). - CrosshairReturned by
area:crosshair(...). - PanZoomReturned by
area:pan_zoom(...). - BrushReturned by
area:brush(...). - ColorScaleA numeric → color ramp created by
datumhue..chart. scale. color(options) - AxisA tick axis bound to a scale, created by
area:axis(options). - LegendA legend panel attached to a plot area, created by
area:legend(options). - ChartGroupReturned by
area:group(marks).