plot
plot copied to clipboard
Vue example
I added @observablehq/plot to vue.config.js & the example :Plot.rectY(athletes, Plot.binX({y: "count"}, {x: "weight", fill: "sex"})).plot() appears to read the data, but cannot figure out how to render following this following this codebox example. It would be helpful to have a Vue example like React one. Thanks
Yes.
We could also do:
- vite (this repo is using vite)
- astro (see https://github.com/withastro/astro/issues/2451#issuecomment-1039139298)
- quarto (there is a straightforward example on their home page)
- the command line: https://github.com/Fil/plot-cli
see also #848
+1 for Astro example
There's now a Vue example in the main "Getting started" docs: https://observablehq.com/plot/getting-started#plot-in-vue