Skip Navigation

IES Organizational Chart

`; const nestedKeys = Object.keys(value).filter((k) => k !== "link"); if (nestedKeys.length > 0) { html += "
    "; nestedKeys.forEach((nestedKey) => { processEntry(nestedKey, value[nestedKey]); }); html += "
"; } } else if (typeof value === "string") { html += `
  • ${key}
    `; } html += "
  • "; }; Object.entries(data).forEach(([key, value]) => processEntry(key, value)); html += ""; return html; } const htmlContent = createHtmlFromJson(jsonData); const chartContainer = document.getElementById("orgChartContainer"); chartContainer.innerHTML = htmlContent;