Mar 24, 2022 11:39 AM
I’m trying to create a simple pie chart with Vega-lite in Airtable. I got it worked in the Vega-lite editor but the pie chart is not showing up in Airtable with the same configuration. See screenshots below. What did I do wrong in Airtable? Thanks!
Mar 25, 2022 08:17 AM
You assumed the data node was required. This is not the case in Airtable’s Vega-Lite app - it assumes the data comes from configured declarations. Create a simple pie chart in Airtable using the Vega-Lite app and then look at the declaration code it generates.
Mar 25, 2022 02:24 PM
Could you give me an example of the pie chart code? I don’t quite understand what you mean. I copied and pasted Vega-lite’s sample code and it doesn’t work. So should I be modifying it for Airtable? Thanks!
Mar 25, 2022 03:35 PM
No. Airtable has some expectations that you select a table and instrument the fields in the code as needed. Example…