altair.topo_feature#
- altair.topo_feature(url, feature, **kwargs)#
A convenience function for extracting features from a topojson url.
- Parameters:
- urlstring
An URL from which to load the data set.
- featurestring
The name of the TopoJSON object set to convert to a GeoJSON feature collection. For example, in a map of the world, there may be an object set named “countries”. Using the feature property, we can extract this set and generate a GeoJSON feature object for each country.
- **kwargs
additional keywords passed to TopoDataFormat