Skip to main content
Back to top
Ctrl
+
K
Vega-Altair
Getting Started
User Guide
Examples
API
More
Release Notes
About
Search
Ctrl
+
K
GitHub
StackOverflow
Search
Ctrl
+
K
Getting Started
User Guide
Examples
API
Release Notes
About
GitHub
StackOverflow
Section Navigation
altair.Chart
altair.ConcatChart
altair.FacetChart
altair.HConcatChart
altair.LayerChart
altair.RepeatChart
altair.TopLevelMixin
altair.VConcatChart
altair.Angle
altair.AngleDatum
altair.AngleValue
altair.Color
altair.ColorDatum
altair.ColorValue
altair.Column
altair.Description
altair.DescriptionValue
altair.Detail
altair.Facet
altair.Fill
altair.FillDatum
altair.FillOpacity
altair.FillOpacityDatum
altair.FillOpacityValue
altair.FillValue
altair.Href
altair.HrefValue
altair.Key
altair.Latitude
altair.Latitude2
altair.Latitude2Datum
altair.Latitude2Value
altair.LatitudeDatum
altair.Longitude
altair.Longitude2
altair.Longitude2Datum
altair.Longitude2Value
altair.LongitudeDatum
altair.Opacity
altair.OpacityDatum
altair.OpacityValue
altair.Order
altair.OrderValue
altair.Radius
altair.Radius2
altair.Radius2Datum
altair.Radius2Value
altair.RadiusDatum
altair.RadiusValue
altair.Row
altair.Shape
altair.ShapeDatum
altair.ShapeValue
altair.Size
altair.SizeDatum
altair.SizeValue
altair.Stroke
altair.StrokeDash
altair.StrokeDashDatum
altair.StrokeDashValue
altair.StrokeDatum
altair.StrokeOpacity
altair.StrokeOpacityDatum
altair.StrokeOpacityValue
altair.StrokeValue
altair.StrokeWidth
altair.StrokeWidthDatum
altair.StrokeWidthValue
altair.Text
altair.TextDatum
altair.TextValue
altair.Theta
altair.Theta2
altair.Theta2Datum
altair.Theta2Value
altair.ThetaDatum
altair.ThetaValue
altair.Tooltip
altair.TooltipValue
altair.Url
altair.UrlValue
altair.X
altair.X2
altair.X2Datum
altair.X2Value
altair.XDatum
altair.XError
altair.XError2
altair.XError2Value
altair.XErrorValue
altair.XOffset
altair.XOffsetDatum
altair.XOffsetValue
altair.XValue
altair.Y
altair.Y2
altair.Y2Datum
altair.Y2Value
altair.YDatum
altair.YError
altair.YError2
altair.YError2Value
altair.YErrorValue
altair.YOffset
altair.YOffsetDatum
altair.YOffsetValue
altair.YValue
altair.binding
altair.binding_checkbox
altair.binding_radio
altair.binding_range
altair.binding_select
altair.check_fields_and_encodings
altair.concat
altair.condition
altair.graticule
altair.hconcat
altair.layer
altair.param
altair.repeat
altair.selection_interval
altair.selection_point
altair.sequence
altair.sphere
altair.topo_feature
altair.value
altair.vconcat
altair.when
altair.theme.active
altair.theme.enable
altair.theme.get
altair.theme.names
altair.theme.options
altair.theme.register
altair.theme.unregister
altair.theme.ThemeConfig
altair.theme.AreaConfigKwds
altair.theme.AutoSizeParamsKwds
altair.theme.AxisConfigKwds
altair.theme.AxisResolveMapKwds
altair.theme.BarConfigKwds
altair.theme.BindCheckboxKwds
altair.theme.BindDirectKwds
altair.theme.BindInputKwds
altair.theme.BindRadioSelectKwds
altair.theme.BindRangeKwds
altair.theme.BoxPlotConfigKwds
altair.theme.BrushConfigKwds
altair.theme.CompositionConfigKwds
altair.theme.ConfigKwds
altair.theme.DateTimeKwds
altair.theme.DerivedStreamKwds
altair.theme.ErrorBandConfigKwds
altair.theme.ErrorBarConfigKwds
altair.theme.FeatureGeometryGeoJsonPropertiesKwds
altair.theme.FormatConfigKwds
altair.theme.GeoJsonFeatureCollectionKwds
altair.theme.GeoJsonFeatureKwds
altair.theme.GeometryCollectionKwds
altair.theme.GradientStopKwds
altair.theme.HeaderConfigKwds
altair.theme.IntervalSelectionConfigKwds
altair.theme.IntervalSelectionConfigWithoutTypeKwds
altair.theme.LegendConfigKwds
altair.theme.LegendResolveMapKwds
altair.theme.LegendStreamBindingKwds
altair.theme.LineConfigKwds
altair.theme.LineStringKwds
altair.theme.LinearGradientKwds
altair.theme.LocaleKwds
altair.theme.MarkConfigKwds
altair.theme.MergedStreamKwds
altair.theme.MultiLineStringKwds
altair.theme.MultiPointKwds
altair.theme.MultiPolygonKwds
altair.theme.NumberLocaleKwds
altair.theme.OverlayMarkDefKwds
altair.theme.PaddingKwds
altair.theme.PointKwds
altair.theme.PointSelectionConfigKwds
altair.theme.PointSelectionConfigWithoutTypeKwds
altair.theme.PolygonKwds
altair.theme.ProjectionConfigKwds
altair.theme.ProjectionKwds
altair.theme.RadialGradientKwds
altair.theme.RangeConfigKwds
altair.theme.RectConfigKwds
altair.theme.ResolveKwds
altair.theme.RowColKwds
altair.theme.ScaleConfigKwds
altair.theme.ScaleInvalidDataConfigKwds
altair.theme.ScaleResolveMapKwds
altair.theme.SelectionConfigKwds
altair.theme.StepKwds
altair.theme.StyleConfigIndexKwds
altair.theme.TickConfigKwds
altair.theme.TimeIntervalStepKwds
altair.theme.TimeLocaleKwds
altair.theme.TitleConfigKwds
altair.theme.TitleParamsKwds
altair.theme.TooltipContentKwds
altair.theme.TopLevelSelectionParameterKwds
altair.theme.VariableParameterKwds
altair.theme.ViewBackgroundKwds
altair.theme.ViewConfigKwds
altair.Aggregate
altair.AggregateOp
altair.AggregateTransform
altair.AggregatedFieldDef
altair.Align
altair.AllSortString
altair.AnyMark
altair.AnyMarkConfig
altair.AreaConfig
altair.ArgmaxDef
altair.ArgminDef
altair.AutoSizeParams
altair.AutosizeType
altair.Axis
altair.AxisConfig
altair.AxisOrient
altair.AxisResolveMap
altair.BBox
altair.BarConfig
altair.BaseTitleNoValueRefs
altair.Baseline
altair.BinExtent
altair.BinParams
altair.BinTransform
altair.BindCheckbox
altair.BindDirect
altair.BindInput
altair.BindRadioSelect
altair.BindRange
altair.Binding
altair.BinnedTimeUnit
altair.Blend
altair.BoxPlot
altair.BoxPlotConfig
altair.BoxPlotDef
altair.BrushConfig
altair.CalculateTransform
altair.Categorical
altair.ColorDef
altair.ColorName
altair.ColorScheme
altair.CompositeMark
altair.CompositeMarkDef
altair.CompositionConfig
altair.ConcatSpecGenericSpec
altair.ConditionalAxisColor
altair.ConditionalAxisLabelAlign
altair.ConditionalAxisLabelBaseline
altair.ConditionalAxisLabelFontStyle
altair.ConditionalAxisLabelFontWeight
altair.ConditionalAxisNumber
altair.ConditionalAxisNumberArray
altair.ConditionalAxisPropertyAlignnull
altair.ConditionalAxisPropertyColornull
altair.ConditionalAxisPropertyFontStylenull
altair.ConditionalAxisPropertyFontWeightnull
altair.ConditionalAxisPropertyTextBaselinenull
altair.ConditionalAxisPropertynumberArraynull
altair.ConditionalAxisPropertynumbernull
altair.ConditionalAxisPropertystringnull
altair.ConditionalAxisString
altair.ConditionalMarkPropFieldOrDatumDef
altair.ConditionalMarkPropFieldOrDatumDefTypeForShape
altair.ConditionalParameterMarkPropFieldOrDatumDef
altair.ConditionalParameterMarkPropFieldOrDatumDefTypeForShape
altair.ConditionalParameterStringFieldDef
altair.ConditionalParameterValueDefGradientstringnullExprRef
altair.ConditionalParameterValueDefTextExprRef
altair.ConditionalParameterValueDefnumber
altair.ConditionalParameterValueDefnumberArrayExprRef
altair.ConditionalParameterValueDefnumberExprRef
altair.ConditionalParameterValueDefstringExprRef
altair.ConditionalParameterValueDefstringnullExprRef
altair.ConditionalPredicateMarkPropFieldOrDatumDef
altair.ConditionalPredicateMarkPropFieldOrDatumDefTypeForShape
altair.ConditionalPredicateStringFieldDef
altair.ConditionalPredicateValueDefAlignnullExprRef
altair.ConditionalPredicateValueDefColornullExprRef
altair.ConditionalPredicateValueDefFontStylenullExprRef
altair.ConditionalPredicateValueDefFontWeightnullExprRef
altair.ConditionalPredicateValueDefGradientstringnullExprRef
altair.ConditionalPredicateValueDefTextBaselinenullExprRef
altair.ConditionalPredicateValueDefTextExprRef
altair.ConditionalPredicateValueDefnumber
altair.ConditionalPredicateValueDefnumberArrayExprRef
altair.ConditionalPredicateValueDefnumberArraynullExprRef
altair.ConditionalPredicateValueDefnumberExprRef
altair.ConditionalPredicateValueDefnumbernullExprRef
altair.ConditionalPredicateValueDefstringExprRef
altair.ConditionalPredicateValueDefstringnullExprRef
altair.ConditionalStringFieldDef
altair.ConditionalValueDefGradientstringnullExprRef
altair.ConditionalValueDefTextExprRef
altair.ConditionalValueDefnumber
altair.ConditionalValueDefnumberArrayExprRef
altair.ConditionalValueDefnumberExprRef
altair.ConditionalValueDefstringExprRef
altair.ConditionalValueDefstringnullExprRef
altair.Config
altair.CsvDataFormat
altair.Cursor
altair.Cyclical
altair.Data
altair.DataFormat
altair.DataSource
altair.Datasets
altair.DateTime
altair.DatumDef
altair.Day
altair.DensityTransform
altair.DerivedStream
altair.Dict
altair.DictInlineDataset
altair.DictSelectionInit
altair.DictSelectionInitInterval
altair.Diverging
altair.DomainUnionWith
altair.DsvDataFormat
altair.Element
altair.Encoding
altair.EncodingSortField
altair.ErrorBand
altair.ErrorBandConfig
altair.ErrorBandDef
altair.ErrorBar
altair.ErrorBarConfig
altair.ErrorBarDef
altair.ErrorBarExtent
altair.EventStream
altair.EventType
altair.Expr
altair.ExprRef
altair.ExtentTransform
altair.FacetEncodingFieldDef
altair.FacetFieldDef
altair.FacetMapping
altair.FacetSpec
altair.FacetedEncoding
altair.FacetedUnitSpec
altair.Feature
altair.FeatureCollection
altair.FeatureGeometryGeoJsonProperties
altair.Field
altair.FieldDefWithoutScale
altair.FieldEqualPredicate
altair.FieldGTEPredicate
altair.FieldGTPredicate
altair.FieldLTEPredicate
altair.FieldLTPredicate
altair.FieldName
altair.FieldOneOfPredicate
altair.FieldOrDatumDefWithConditionDatumDefGradientstringnull
altair.FieldOrDatumDefWithConditionDatumDefnumber
altair.FieldOrDatumDefWithConditionDatumDefnumberArray
altair.FieldOrDatumDefWithConditionDatumDefstringnull
altair.FieldOrDatumDefWithConditionMarkPropFieldDefGradientstringnull
altair.FieldOrDatumDefWithConditionMarkPropFieldDefTypeForShapestringnull
altair.FieldOrDatumDefWithConditionMarkPropFieldDefnumber
altair.FieldOrDatumDefWithConditionMarkPropFieldDefnumberArray
altair.FieldOrDatumDefWithConditionStringDatumDefText
altair.FieldOrDatumDefWithConditionStringFieldDefText
altair.FieldOrDatumDefWithConditionStringFieldDefstring
altair.FieldRange
altair.FieldRangePredicate
altair.FieldValidPredicate
altair.FilterTransform
altair.Fit
altair.FlattenTransform
altair.FoldTransform
altair.FontStyle
altair.FontWeight
altair.FormatConfig
altair.Generator
altair.GenericUnitSpecEncodingAnyMark
altair.GeoJsonFeature
altair.GeoJsonFeatureCollection
altair.GeoJsonProperties
altair.Geometry
altair.GeometryCollection
altair.Gradient
altair.GradientStop
altair.GraticuleGenerator
altair.GraticuleParams
altair.HConcatSpecGenericSpec
altair.Header
altair.HeaderConfig
altair.HexColor
altair.ImputeMethod
altair.ImputeParams
altair.ImputeSequence
altair.ImputeTransform
altair.InlineData
altair.InlineDataset
altair.Interpolate
altair.IntervalSelectionConfig
altair.IntervalSelectionConfigWithoutType
altair.JoinAggregateFieldDef
altair.JoinAggregateTransform
altair.JsonDataFormat
altair.LabelOverlap
altair.LatLongDef
altair.LatLongFieldDef
altair.LayerRepeatMapping
altair.LayerRepeatSpec
altair.LayerSpec
altair.LayoutAlign
altair.Legend
altair.LegendBinding
altair.LegendConfig
altair.LegendOrient
altair.LegendResolveMap
altair.LegendStreamBinding
altair.LineConfig
altair.LineString
altair.LinearGradient
altair.LocalMultiTimeUnit
altair.LocalSingleTimeUnit
altair.Locale
altair.LoessTransform
altair.LogicalAndPredicate
altair.LogicalNotPredicate
altair.LogicalOrPredicate
altair.LookupData
altair.LookupSelection
altair.LookupTransform
altair.Mark
altair.MarkConfig
altair.MarkDef
altair.MarkInvalidDataMode
altair.MarkPropDefGradientstringnull
altair.MarkPropDefnumber
altair.MarkPropDefnumberArray
altair.MarkPropDefstringnullTypeForShape
altair.MarkType
altair.MergedStream
altair.Month
altair.MultiLineString
altair.MultiPoint
altair.MultiPolygon
altair.MultiTimeUnit
altair.NamedData
altair.NonArgAggregateOp
altair.NonLayerRepeatSpec
altair.NonNormalizedSpec
altair.NumberLocale
altair.NumericArrayMarkPropDef
altair.NumericMarkPropDef
altair.OffsetDef
altair.OrderFieldDef
altair.OrderOnlyDef
altair.OrderValueDef
altair.Orient
altair.Orientation
altair.OverlayMarkDef
altair.Padding
altair.ParameterExtent
altair.ParameterName
altair.ParameterPredicate
altair.Parse
altair.ParseValue
altair.PivotTransform
altair.Point
altair.PointSelectionConfig
altair.PointSelectionConfigWithoutType
altair.PolarDef
altair.Polygon
altair.Position
altair.Position2Def
altair.PositionDatumDef
altair.PositionDatumDefBase
altair.PositionDef
altair.PositionFieldDef
altair.PositionFieldDefBase
altair.PositionValueDef
altair.Predicate
altair.PredicateComposition
altair.PrimitiveValue
altair.Projection
altair.ProjectionConfig
altair.ProjectionType
altair.QuantileTransform
altair.RadialGradient
altair.RangeConfig
altair.RangeEnum
altair.RangeRaw
altair.RangeRawArray
altair.RangeScheme
altair.RectConfig
altair.RegressionTransform
altair.RelativeBandSize
altair.RepeatMapping
altair.RepeatRef
altair.RepeatSpec
altair.Resolve
altair.ResolveMode
altair.Root
altair.RowColLayoutAlign
altair.RowColboolean
altair.RowColnumber
altair.RowColumnEncodingFieldDef
altair.SampleTransform
altair.Scale
altair.ScaleBinParams
altair.ScaleBins
altair.ScaleConfig
altair.ScaleDatumDef
altair.ScaleFieldDef
altair.ScaleInterpolateEnum
altair.ScaleInterpolateParams
altair.ScaleInvalidDataConfig
altair.ScaleInvalidDataShowAsValueangle
altair.ScaleInvalidDataShowAsValuecolor
altair.ScaleInvalidDataShowAsValuefill
altair.ScaleInvalidDataShowAsValuefillOpacity
altair.ScaleInvalidDataShowAsValueopacity
altair.ScaleInvalidDataShowAsValueradius
altair.ScaleInvalidDataShowAsValueshape
altair.ScaleInvalidDataShowAsValuesize
altair.ScaleInvalidDataShowAsValuestroke
altair.ScaleInvalidDataShowAsValuestrokeDash
altair.ScaleInvalidDataShowAsValuestrokeOpacity
altair.ScaleInvalidDataShowAsValuestrokeWidth
altair.ScaleInvalidDataShowAsValuetheta
altair.ScaleInvalidDataShowAsValuex
altair.ScaleInvalidDataShowAsValuexOffset
altair.ScaleInvalidDataShowAsValuey
altair.ScaleInvalidDataShowAsValueyOffset
altair.ScaleInvalidDataShowAsangle
altair.ScaleInvalidDataShowAscolor
altair.ScaleInvalidDataShowAsfill
altair.ScaleInvalidDataShowAsfillOpacity
altair.ScaleInvalidDataShowAsopacity
altair.ScaleInvalidDataShowAsradius
altair.ScaleInvalidDataShowAsshape
altair.ScaleInvalidDataShowAssize
altair.ScaleInvalidDataShowAsstroke
altair.ScaleInvalidDataShowAsstrokeDash
altair.ScaleInvalidDataShowAsstrokeOpacity
altair.ScaleInvalidDataShowAsstrokeWidth
altair.ScaleInvalidDataShowAstheta
altair.ScaleInvalidDataShowAsx
altair.ScaleInvalidDataShowAsxOffset
altair.ScaleInvalidDataShowAsy
altair.ScaleInvalidDataShowAsyOffset
altair.ScaleResolveMap
altair.ScaleType
altair.SchemaBase
altair.SchemeParams
altair.SecondaryFieldDef
altair.SelectionConfig
altair.SelectionInit
altair.SelectionInitInterval
altair.SelectionInitIntervalMapping
altair.SelectionInitMapping
altair.SelectionParameter
altair.SelectionResolution
altair.SelectionType
altair.SequenceGenerator
altair.SequenceParams
altair.SequentialMultiHue
altair.SequentialSingleHue
altair.ShapeDef
altair.SharedEncoding
altair.SingleDefUnitChannel
altair.SingleTimeUnit
altair.Sort
altair.SortArray
altair.SortByChannel
altair.SortByChannelDesc
altair.SortByEncoding
altair.SortField
altair.SortOrder
altair.Spec
altair.SphereGenerator
altair.StackOffset
altair.StackTransform
altair.StandardType
altair.Step
altair.StepFor
altair.Stream
altair.StringFieldDef
altair.StringFieldDefWithCondition
altair.StringValueDefWithCondition
altair.StrokeCap
altair.StrokeJoin
altair.StyleConfigIndex
altair.SymbolShape
altair.TextBaseline
altair.TextDef
altair.TextDirection
altair.TickConfig
altair.TickCount
altair.TimeInterval
altair.TimeIntervalStep
altair.TimeLocale
altair.TimeUnit
altair.TimeUnitParams
altair.TimeUnitTransform
altair.TimeUnitTransformParams
altair.TitleAnchor
altair.TitleConfig
altair.TitleFrame
altair.TitleOrient
altair.TitleParams
altair.TooltipContent
altair.TopLevelConcatSpec
altair.TopLevelFacetSpec
altair.TopLevelHConcatSpec
altair.TopLevelLayerSpec
altair.TopLevelParameter
altair.TopLevelRepeatSpec
altair.TopLevelSelectionParameter
altair.TopLevelSpec
altair.TopLevelUnitSpec
altair.TopLevelVConcatSpec
altair.TopoDataFormat
altair.Transform
altair.Type
altair.TypeForShape
altair.TypedFieldDef
altair.URI
altair.UnitSpec
altair.UnitSpecWithFrame
altair.UrlData
altair.UtcMultiTimeUnit
altair.UtcSingleTimeUnit
altair.VConcatSpecGenericSpec
altair.ValueDefWithConditionMarkPropFieldOrDatumDefGradientstringnull
altair.ValueDefWithConditionMarkPropFieldOrDatumDefTypeForShapestringnull
altair.ValueDefWithConditionMarkPropFieldOrDatumDefnumber
altair.ValueDefWithConditionMarkPropFieldOrDatumDefnumberArray
altair.ValueDefWithConditionMarkPropFieldOrDatumDefstringnull
altair.ValueDefWithConditionStringFieldDefText
altair.ValueDefnumber
altair.ValueDefnumberwidthheightExprRef
altair.VariableParameter
altair.Vector10string
altair.Vector12string
altair.Vector2DateTime
altair.Vector2Vector2number
altair.Vector2boolean
altair.Vector2number
altair.Vector2string
altair.Vector3number
altair.Vector7string
altair.VegaLiteSchema
altair.ViewBackground
altair.ViewConfig
altair.WindowEventType
altair.WindowFieldDef
altair.WindowOnlyOp
altair.WindowTransform
altair.expr
altair.When
altair.Then
altair.ChainedWhen
altair.typing.ChannelAngle
altair.typing.ChannelColor
altair.typing.ChannelColumn
altair.typing.ChannelDescription
altair.typing.ChannelDetail
altair.typing.ChannelFacet
altair.typing.ChannelFill
altair.typing.ChannelFillOpacity
altair.typing.ChannelHref
altair.typing.ChannelKey
altair.typing.ChannelLatitude
altair.typing.ChannelLatitude2
altair.typing.ChannelLongitude
altair.typing.ChannelLongitude2
altair.typing.ChannelOpacity
altair.typing.ChannelOrder
altair.typing.ChannelRadius
altair.typing.ChannelRadius2
altair.typing.ChannelRow
altair.typing.ChannelShape
altair.typing.ChannelSize
altair.typing.ChannelStroke
altair.typing.ChannelStrokeDash
altair.typing.ChannelStrokeOpacity
altair.typing.ChannelStrokeWidth
altair.typing.ChannelText
altair.typing.ChannelTheta
altair.typing.ChannelTheta2
altair.typing.ChannelTooltip
altair.typing.ChannelUrl
altair.typing.ChannelX
altair.typing.ChannelX2
altair.typing.ChannelXError
altair.typing.ChannelXError2
altair.typing.ChannelXOffset
altair.typing.ChannelY
altair.typing.ChannelY2
altair.typing.ChannelYError
altair.typing.ChannelYError2
altair.typing.ChannelYOffset
altair.typing.ChartType
altair.typing.EncodeKwds
altair.typing.Optional
altair.typing.is_chart_type
API Reference
altair.sphere
altair.sphere
#
altair.
sphere
(
)
#
Sphere generator.
On this page
sphere()