If you need to render quite a lot of data look at one of the WebGL implementations, I switched from Leaflet to Maplibre GL for displaying around ~7k linestrings and saw huge performance gains.
I recently came across Datasette. It lets you a build a map with a simple sqlite DB. Here is an example: <a href="https://global-power-plants.datasettes.com/global-power-plants/global-power-plants" rel="nofollow">https://global-power-plants.datasettes.com/global-power-plan...</a>