Smith charts in plotly.js?

Is there a way to replicate the Smith Chart example in plotly.js instead of Python? Would be super useful for us RF engineering. :slight_smile:

var trace = {
  type: 'scattersmith',
  imag: [0.5, 1, 2, 3],
  real: [0.5, 1, 2, 3]
};

var data = [trace];

var layout = {
  title: 'Smith Chart',
  autosize: false,
  width: 500,
  height: 500
};

var config = {
  responsive: true
};

Plotly.newPlot('YourDivID', data, layout, config);
1 Like

Thanks! By the way is it possible to make it interactive by e.g. being able to zoom in etc.?