This website is for version 5. You can find the documentation for version 4 here.


altair.topo_feature(url, feature, **kwargs)#

A convenience function for extracting features from a topojson url


An URL from which to load the data set.


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.


additional keywords passed to TopoDataFormat