Embeds allow you to enjoy beautiful, updating Dune charts across the web!
Create embeds to display your Dune widgets across the web!To save you from having to take screenshots that might not look so great but will definitely be out of date a few minutes after you take them, we’ve built a native embed function that works across most web platforms.You can generate embed links by clicking on any query title and selecting the embed function in the top right corner.
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.
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.
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: