I am trying to utilize the joint.js library to render a JSON data as a chart...
let paper = new joint.dia.Paper({
el: $('#paper'),
width: 600,
height: 200,
model: graph
});
let graph = new joint.dia.Graph;
let json = '{"employees": [ { "firstName":"John" , "lastName":"Doe" }, { "firstName":"Anna" , "lastName":"Smith" }, { "firstName":"Peter" , "lastName":"Jones" } ] }';
graph.fromJSON(JSON.parse(json));