i have a similar custom flight svg like on: https://echarts.apache.org/examples/en/editor.html?c=geo-seatmap-flight, i am using e-charts-for-react library in my react app., i have tried to implement the functionality using a create-react-app sample in my code how do i go about "adapting" it properly in echarts-for-react especially for the line.. seems like i need to utlise the "Echarts API"?
var myChart = echarts.init(chartDom);