Implemented first version of the chart