Here's the small subset of math that I use for the vast majority of visualizations - ideally it's a good introduction to those who want to make pretty things with d3js, canvas, or other tools. In essence, I'll try to explain four parts of JavaScript's built-in Math object: Math.cos(a), which we use to get x positions from anglesMath.sin(a), which we use to get y positions from anglesMath.atan2(y,


{{#tags}}- {{label}}
{{/tags}}