Cleaner implementation - only passing one values array to the JS chart instead of two. Less code. More readable. Such commit