Replies: 6 comments 12 replies
-
In general, when using vega lite, the default format is JSON. Do we have a way to use the Vega-lite specification directly? If the specification is complex, converting it to YAML can feel a bit cumbersome -- while many times you can find tools to convert from YAML to JSON, there will be a lot of manual YAML <<-->> JSON conversion process if you consider that debugging is required |
Beta Was this translation helpful? Give feedback.
-
Thanks @HaveF for your appreciation of Here are some pointers:
First thing you can do is to start the Datasette server with live-reload enabled, e.g. Also, here are some thoughts to improve the workflow:
Actually, you can do 2 things right now:
...
library: vega-lite
display:
{
"encoding": {
"x": {"field": "year", "timeUnit": "year", "type": "temporal"},
"y": {"field": "count", "type": "quantitative"}
},
"mark": {"tooltip": true, "type": "line"}
}
... |
Beta Was this translation helpful? Give feedback.
-
Hi, Romain @rclement Thanks for your detailed explanation.
Oh, it become a sub option of |
Beta Was this translation helpful? Give feedback.
-
Make a chart and dashboard builder like a BI tool (Metabase, PBI, Tableau, etc.): this would require a great amount of work to make this happen
|
Beta Was this translation helpful? Give feedback.
-
When I use your package today(Thank you again! ❤️ ), I don't know if I use
I don't know if I've made it clear, but I always have some new ideas when it comes to layout. During the adjustment, I kept copying the field to make it wider or narrower, and I always felt that my manual adjustment method was problematic, and sometimes because of copying the wrong field, I had to double-check what was wrong. Don't know if you have any better way? Of course, the layout should be set at the beginning of the design of the dashboard, but it is inevitable to adjust it in use. |
Beta Was this translation helpful? Give feedback.
-
Thanks for this discussion guys, it helped me a lot, I really like the dashboard plugin + vega. In the datasette plugin directory I also came across this: https://datasette.io/plugins/datasette-nteract-data-explorer Might be helpful for you to know |
Beta Was this translation helpful? Give feedback.
-
Hi, Romain,
I love you repo! ❤️ very useful!
I'm curious about your workflow. Could you please give me an overview?
When I'm debugging, I find myself manually closing the server with ctrl+c every time I adjust the
metadata.yml
file. Then I have to restart it and refresh the page to see if the configuration is appropriate. If it's not, I have to repeat the previous steps.I'm not sure if there's a way to automate this entire process, such as automatically refreshing the page. I'm wondering how you handle it.
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions