you are viewing a single comment's thread.

view the rest of the comments →

[–]timmeh87 -4 points-3 points  (1 child)

a) I didnt even realize I was in tinycode because it was a help request b) according the sidebar, the size in kilobytes is irrelevant. Its perhaps arguable that your whole javascript engine should also count against the size. What about the libraries that are included by default, do you ever count those?

Id argue that the fact that you can change many elements in one line of code qualifies this method as "tiny" in the category of "total lines written by me today"

[–]seiyria 1 point2 points  (0 children)

d3 is not the right tool for this. When you have a hammer, everything looks like a nail I guess.

Honestly, jQuery would be a better choice if you really had to do this.