Skip to content

How to refresh data in a Plot over a Web API #2013

Answered by Fil
ChrisTaylorDeveloper asked this question in Q&A
Discussion options

You must be logged in to vote

here's an example that fetches live data and plots it:
https://observablehq.observablehq.cloud/pangea/varia/covid-sumeau

(note that there is a fallback in case the live data source fails.)

source code:
https://github.com/Fil/pangea/blob/main/src/varia/covid-sumeau.md?plain=1

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ChrisTaylorDeveloper
Comment options

Answer selected by ChrisTaylorDeveloper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants