I’m doing some form of data visualization learning for 180 days because I need to #JFDI. See post explaining how and why I’m doing this.
Code Learning:
- Functions in Eloquent Javascript
- Three Takeaways (trying to drill key terms down)
- “Being able to reference a specific instance of local variables in an enclosing function—is called closure.”
- “A good mental model is to think of the
functionkeyword as “freezing” the code in its body and wrapping it into a package (the function value). So when you readreturn function(...) {...}, think of it as returning a handle to a piece of computation, frozen for later use.” - “It is perfectly okay for a function to call itself, as long as it takes care not to overflow the stack. A function that calls itself is called recursive.”
- Three Takeaways (trying to drill key terms down)
Reading and Learning Data Visualization Theoretically/Critically:
Reading Nathan Yau’s book Data Points – Visualization that Means Something
p. 211-229 Readability and Highlighting
Three Takeaways
- “Clutter is the enemy of readability” Use negative space to separate visual elements as necessary. p 217
- Use highlighting to guide readers to important points in graphic, eg pointing out Joey Chestnut and Takeru Kobayashi in hotdog eating contest bars p. 223
- “Where your highlighting fits in the hierarchy, be sure the new visual cues don’t conflict with existing ones. If you have a bar chart that uses length as a visual cue, you obviously do not highlight with length, too. Have a scatter plot? Don’t highlight with position. Heat map? Highlight with the color palette rather than introduce hues that change visual patterns.” p 227
Leave a Reply