This is a demo tutorial. While there is no step-by-step commentary available (yet), the live demo below is fully functional. Feel free to open it for full source code.
This demo shows how we can use some custom code executed on chart load to build completely custom but interactive HTML-based legend for our chart.
See the Pen amCharts 4: Custom external legend by amCharts team (@amcharts) on CodePen.