implement heatmap, scatter and line chart