For those that use the Airtable program to compile data, WayScript offers a quick, simple script that allows users to share charts using an easily accessible URL. This script can be constructed in less than two minutes, so keep reading to create your own hosted dashboard you can share with others!
Building our Script
To begin, an HTTP Trigger module is used in order to provide a URL that hosts the created dashboard. Below this module, the Airtable module is needed. Connect the data using an API key from Airtable, then give it a name at the toolbar at left. Once this is complete, data will generate below with the column options available for import.
After choosing the preferred options, the Chart module should be added below the Airtable module.
The previously imported columns are now stored as WayScript variables. Once the Chart module is added this variable should be dragged to the data input field. Options for the chart type can also be selected. All of this is done in the toolbar. After this step, a preview of the chart is generated. Finally, in order to create the dashboard to host the chart, the Dashboard Response module is added. The generated chart preview is saved as a variable; drag this variable into the title field. Activate the HTTP Trigger and click on the provided URL, which opens a new tab containing the hosted dashboard and chart.
Just like that, users can create almost any kind of chart derived from Airtable data that is easily shareable for all team members. To see the step-by-step process of creating this script, watch our YouTube video below!
Questions about this script or anything else? Join our discord. We're always around to help. If you want to work the full script template, just find it here.
Top comments (0)