12 Creating Heat Maps in D3

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 2

  • @mrkjhsn
    @mrkjhsn 6 วันที่ผ่านมา +1

    Thank you for killing those placeholders! ☠ that was partly what was throwing me off in my previous comment. I saw those in the HTML and didn't fully understand why they weren't rending along with the plot. 😕 It is as if the plot was overwriting them.

    • @anthonymunnelly20
      @anthonymunnelly20  6 วันที่ผ่านมา

      Hey Mark - over-writing the placeholders is exactly what the code was doing, and that was part of the reason not to delete them. If the code worked, they would be deleted anyway, and if it didn't, you could at least tell how far the code had run. You may have noticed the error messaging in JavaScript is not always as helpful as it might be.
      One of the things I had to decide in starting this course was to make an assumption as to how much JavaScript people already knew. I'm presuming JavaScript knowledge because, to be quite honest, if I didn't presume that I wouldn't have been able to put up the tutorials at all without doing a JavaScript course first. I've always presumed an exposure to JavaScript and a good working knowledge of Python in any of the stuff I've done so far.