Simple js dynamic chart.