You originally asked the question:
Your response implies that what you’re looking to create is:
But what you’re generating is:
So no, based on the information posted here so far, I’d say you’re heading off in the wrong direction.
However, I will also add -
That statement is not globally accurate. Different charts accept different formats of data. Which type of chart are you looking to create?
That is, at best, a misleading statement. They serve different purposes and do different things - pick the right tool for the right job.