Instructions on how to make new visualization types for Redash


I’m new to the Redash environment, and I’ve seen these two links instructing on how to make a new Visualization type for Redash:

But it seems the codebase has slightly changed.
I need to create a new visualization type (a Gauge), like this one from plotly:

plot. ly/javascript/gauge-charts/

What steps are necessary? Which files/lines do I need to change to start a new visualization type? How can I pass parameters to the visualization script, and what is the command to display the visualization?

Thank you

The existing instructions require an update since we’ve migrated to React for our front-end.