by apwheele · 2y ago · 0 comments
https://crimede-coder.com/graphs/Dallas_Dashboard
Startup takes around a minute (which includes installing various python libraries + loading an external 5mb dataset). But once up and running it is quite responsive. (And works fine on my iphone.)
Many businesses I work with use Tableau free versions, and just manually update the data (since the free doesn't allow direct connections to a datastore). This is a free alternative (I use github actions to build a zipped up csv file that is pulled into the environment).
On iPad Pro 13" from fall 2023, over NYC area broadband and WiFi, it takes about 8 seconds from clicking your link for the spinner (which seems to hang from seconds 4 - 8) to clear and the filters to become active.
Not sure how long bootstrapping enough Python into Safari on an iPad to run a Panel app would take, but I certainly imagined more than 8 seconds. (Shift refresh takes ~6.)
I wonder what your bottleneck was? It was about 20 seconds for me on domestic broadband.
> Many businesses I work with use Tableau free versions, and just manually update the data
Why not just use e.g React/ Angular?
Or is it a question of needing python for the data analytics, and for server cost reasons not wanting it to be run on the server side?
There are some cases in which I do want python numerical libraries though. Say I wanted to do a forecast ARIMA model based on arbitrary combined inputs for the graphs, or do different types of spatial clustering of the geographic data. Those would be cases pyscript would make sense.
The public dashboards yes IMO easier to not have to worry about server.
I wish we get over with the loading hickups soon. Do you know if there is any work going on to make it start faster/smaller/less janky?
I imagine there's a ton of preprocessing that could be, well, preprocessed.