Reference
Embedding EconLearn graphs: reference
EconLearn graphs are free to embed on any site that accepts HTML. One iframe adds a live, draggable graph to a class page, LMS, blog or lesson, and students need no account.
In one paragraph
Every EconLearn graph can be placed on a website, LMS, Google Site, Canvas page, WordPress post or Notion page with one iframe. Each graph has a widget page at https://www.econlearn.org/widgets/{slug} with its snippet; supply and demand is at https://www.econlearn.org/widgets/supply-demand. The snippet includes an optional credit line that the site owner may keep, edit or remove.Default graph snippet
The supply and demand snippet. The line under the frame is an optional credit linking to the matching teaching page.
Where the snippets live
- Widgets: one page per graph, 21 in total, at /widgets/{slug}.
- Default graph: supply and demand.
- Machine index: https://www.econlearn.org/embed.json.
Questions
- Can EconLearn graphs be added to another website?
- Yes. Each graph has a widget page at https://www.econlearn.org/widgets/{slug} with an iframe snippet that works in Google Sites, Canvas, WordPress, Notion and other hosts that accept HTML. Supply and demand is at https://www.econlearn.org/widgets/supply-demand.
- What if the host does not allow iframes?
- Link to the graph's page instead. Each widget page names its matching teaching page, and the same graph is free to use there with no account.
- Where is the full list of embeddable graphs?
- Human index: https://www.econlearn.org/widgets. Machine-readable index: https://www.econlearn.org/embed.json.