Open astritspanca opened 5 years ago
@astritspanca I think you are using the wrong data <-> data type combination. I attached you two different CodeSandbox links with either your data (I assume a similar structure) or your graph type.
Graph type "surface": https://codesandbox.io/s/eloquent-diffie-91ezk Your data: https://codesandbox.io/s/festive-moon-octkz
I am using "react-plotly.js": "^2.3.0", and plotly.js 1.45.3. I am trying to recreate this graph in reactjs version 16.8. But all the charts are 2d and i can't even see anything in the screen. (No errors there).
import React from 'react'; import Plot from 'react-plotly.js'; import graphData from '../../public/resources/3d-graph.json';