The embed button works as a stand alone link and as a way to embed your live graphs into websites/web-app/s. If a Query has no Visualizations, the link will be to the Query Results table. If you have multiple Visualizations, the link will be for whichever Visualization you’ve selected when you clicked the Embed button.

Using Embeds on different platforms
Here are a few examples of how you can use Dune embeds on different platforms.
Discord
Dune embeds work very well in Discord, simply drop the embed link in the chat and the corresponding Visualization will be displayed. This also lends itself very well to programming a bot to return the corresponding charts on command.
Web Pages
You can use Dune’s embed links to add live Visualizations to any web page using aniframe
Here is a code snippet example:
Mirror.xyz
Dune Visualizations can easily be embedded into articles on mirror.xyz. Simply generate an embed link and postfix it with?display=iframe
Known Issues
Unfortunately, embeds do not work in a couple of fairly popular web platforms, including:- Substack
- Medium
- GitBook
Creating Embeds with Parameters
Embed links also work with parameterized Queries, but it is a bit tricky to get them to work: The embed link you generate won’t include the necessary parameters yet, even if you ran the query with them. We are working on automating this, but for now you’ll need to manually prefix the parameter link with the parameters:link?[name_of_parameter_1]=[xxxx]&?[name_of_parameter_2]=[yyyy]&[...]
Here is a working example: