drawing a chart from csv data