Thin Vue 3 wrapper for plotly.js
Based on project fromVanOord.
- Typescript support
- Improves Vue implementation based on
<script setup>
- Using Vite for building process
Also, the documentation and the demo page (source code) are published at GitHub.
Usage from another component:
<Template>
<VuePlotly :data="data" :layout="layout"></VuePlotly>
</Template>
<script setup>
import { VuePlotly } from 'vue3-plotly';
const data = [ ... ];
const layout = { ... };
</script>
More documentation at https://clalarco.github.io/vue3-plotly/