5.2 Some key points about Math

From Day 20

  • Math.random() will generate random numbers less than 1.0.
  • If random = 8.9999, then Math.round(random) = 9 but Math.floor(random) = 8.
  • Math is parallel with d3, so d3.Math.... is unnecessary and wrong.