Skip to content

Variable: lineGeo ​

ts
const lineGeo: ExpressFunction<LineGeoOptions>;

Experimental

Lines on a map (px.line_geo): one scattergeo line per group of color / lineDash / symbol / lineGroup values, in data order, each segment along the great circle between its points; markers adds markers at the points.

Example ​

ts
const figure = lineGeo(stops, { lat: 'lat', lon: 'lon', color: 'route', markers: true });

Released under the MIT License.