machbase-neoTQLCHART()3D GlobeAirline on GlobeAirline on Globe 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 CSV(file("https://docs.machbase.com/assets/example/flights.csv")) DROP(1) // skip header // | 0 1 2 3 4 5 6 // +-> flights name1 lon1 lat1 name2 lon2 lat2 // | MAPVALUE(0, latlon( parseFloat(value(2)), parseFloat(value(3)))) MAPVALUE(1, latlon( parseFloat(value(5)), parseFloat(value(6)))) // | 0 1 2 3 4 5 6 // +-> loc1 loc2 lon1 lat1 name2 lon2 lat2 // | MAPVALUE(0, list(value(0), value(1))) // | 0 1 2 3 4 5 6 // +-> [loc1,loc2] (lat,lon) lon1 lat1 name2 lon2 lat2 // | POPVALUE(1, 2, 3, 4, 5, 6) // | 0 // +-> [loc1,loc2] // | CHART( plugins("gl"), chartOption({ backgroundColor: "#000", globe: { baseTexture: "https://docs.machbase.com/assets/example/world.topo.bathy.200401.jpg", heightTexture: "https://docs.machbase.com/assets/example/bathymetry_bw_composite_4k.jpg", shading: "lambert", light: { ambient: { intensity: 0.4 }, main: { intensity: 0.4 } }, viewControl: { autoRotate: false } }, series: { type: "lines3D", coordinateSystem: "globe", blendMode: "lighter", lineStyle: { width: 0.5, color: "rgb(50, 50, 150)", opacity: 0.1 }, data: column(0) } }) )Last updated on Jun 12, 2025Hello World