Skip to content

Instantly share code, notes, and snippets.

@PaulieScanlon
Created October 3, 2022 13:43
Embed
What would you like to do?
Creating the Y Coordinate
const y = chartHeight - offsetY - (total / maxY) * (chartHeight - (paddingY + offsetY)) - paddingY + offsetY;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment