I would like to visualize sunrise and sunset graphically as shown in the picture. Does anyone have an idea how I can do this with the possibilities of the charts (Apache ECharts)?
Why you want do this? It never change. On same location it is the same every year.
To get actual astronomical data you can use astro binding.