Building Custom Viz Plugins in Superset #29641
Replies: 6 comments 19 replies
-
Hey @Ihebbenali95! 👋 I'm here to help you with any bugs, questions, or contributions. I'm your friendly neighborhood bot, ready to assist you while we wait for a human maintainer. To build a custom viz plugin in Apache Superset, you need the following versions:
Since you are using Node.js 16.20.2 and npm 8.19.4, your environment versions are correct. Here are the steps to ensure your plugin appears:
import { SupersetPluginChartHelloWorld } from 'superset-plugin-chart-hello-world';
new SupersetPluginChartHelloWorld().configure({ key: 'ext-hello-world' }),
Following these steps should make your custom viz plugin appear in Superset [1]. |
Beta Was this translation helpful? Give feedback.
-
Hi, Ihebbenali95, have you happened to figure it out? I just ran into the same issue. After successfully installation, the plugin won't appear alongside the other charts. Node v21.7.2 |
Beta Was this translation helpful? Give feedback.
-
I move the project to /superset-frontend/plugins,run npm i
I see my own component, but an interface error occurs after creation 【Datasource does not exist】 |
Beta Was this translation helpful? Give feedback.
-
@Ihebbenali95 I just summarized all steps to install the Hello World Plugin to Superset. You can find more details here . |
Beta Was this translation helpful? Give feedback.
-
Pie.zip |
Beta Was this translation helpful? Give feedback.
-
sorry, I have no clue to your Pie.zip. But for the error message above on Hello World Plugin, you may fix it by just downloading the package cleaned (https://github.com/HESyang/superset-plugin-chart-hello-world), instead of using Yeoman generator. Then copy the plugin to the directory of superset-frontend/plugins. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
can you please tell me what are the required versions to build a custom viz plugin?
i tried to build the hello-world plugin and followed this (https://preset.io/blog/building-custom-viz-plugins-in-superset-v2/) step by step, every thing looked like it is going to work but the plugin won't appear alongside the other charts in http://localhost:8088 .
i am using: apache superset 3.0.0
node -v v16.20.2
npm -v 8.19.4
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions