Pie chart - amCharts 5 Documentation Instantiating the chart As with any chart type in amCharts 5, we'll need to start with creation of the Root element. In it we will create an instance of PieChart class to create a pie chart TypeScript / ES6 JavaScript ... let root = am5.Root.new ( "chartdiv" ); let chart = root.container.children.push ( am5percent.PieChart.new (root, {}) );