• 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.

    I’ve definitely reached an inflection point where I’ve started to realize not only the extent of what I don’t really understanding in terms of coding – but also exactly where and better at how to address the gaps.  In the beginning when I was a Hackbright – I went from the classic stage from clueless to following and understanding to being stuck and not knowing where to go.  I hope I am soon on an upswing of awesome in terms of Javascript and D3 (as job depends on it).  This article on Why Learning to Code is So Damn Hard is a good re-read for me and for anyone else on this journey of technical learning.

    Code Learning:

    D3 Sunburst Diagram Tutorial

    Three Takeaways:

    • “The sunburst diagram is meant to represent hierarchical data, and it expects to receive and operate on an object that has parent and children nodes”
    • g.append("path")
          .attr("d", arc)
          .style("fill", function(d) { return color((d.children ? d : d.parent).name); })
          .on("click", click);
      This part of our D3 drawSunburst function grabs a variable called g, appends an SVG path to it, gives that path an “d” attribute set equal to thearc function and then colors in the shape drawn by path with some further instructions.
    • var partition = d3.layout.partition(nychaData)
            .value(function(d) { return d.count; });

      The partition layout is part of D3’s family of hierarchical layouts. These layouts follow the same basic structure: the input argument to the layout is the root node of the hierarchy, and the output return value is an array representing the computed positions of all nodes.

    Reading and Learning Data Visualization Theoretically/Critically:

    Knight Journalism Course for the Americas:  Data Visualization and Infographics with D3! 

    Alberto Cairo Week Three Lecture: Functional Viz Part 1-2

    Three Takeaways:

    •  What graphic forms are more appropriate to represent your data?
      • 1. Think about the audience and the publication (industry, cultural background, etc.)
      • 2. Think of the questions your graphic should help readers answer
      • 3. Can you understand it without reading every single figure?
    • Don’t get stuck on a singular graphic form for a particular task or message
    • Certain graphic forms allow for better judgements: eg. bar charts, lollipop charts, dot chart, scatter chart, line chart, slope charts
  • 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.

    Coding Learning

    Knight Journalism Course for the Americas:  Data Visualization and Infographics with D3! 

    Week Three Scott Murray Lectures:

    -Wonderful D3 tutorial and review

    Three Takeaways:

    • Think of data that wants to be held, needing an anonymous function
    • .data() binds to elements to DOM, data makes comparison – look at dataset and compares to number of circles – counts and parses data values
    • .enter() subselection of data (placeholder selection for new elements) – give me placeholders for new elements to hand off reference to new placeholder to next step in the chain

    Reading and Learning Data Visualization Theoretically/Critically:

    The Best American Infographics 2014 “Us” Section p. 35-64

    Three Takeways

    • Use of sequenced illustrations to demonstrate truncated info and narrative p 46 “Steps in a catastrophe” from Wapo
    • Mixed methods in using heaviness of lines (using weight) along with whimsical illustrations to show how the social networks of 1920s jazz artists were connected p 55
    • Use of weighted lines, colors, and view of globe from looking from the north (rather than typical horizontal view) showing global trade of tobacco in and out of the US p. 64
  • 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.

    Visualization Worked On or Created: 

    D3 – new stuff for me!

    • Creating donut pie charts and using it as a base template for other work from the Zero Viscosity tutorial.
    • Made a series of interactive bar charts for something at work using.

    Code Learning:

    Zero Viscosity

    Three Takeways

    • How to work with legends in D3 (in one way)
    • How to position and use tooltips in D3 (in one way)
    • Not fun or interest at all, but getting reacquainted with the constant minutia of data munging.  D3’s reading of csvs seems especially sensitiveness to “phantom characters”, eg empty spaces and such in rows that can throw errors.

    Reading and Learning Data Visualization Theoretically/Critically:

    The Best American Infographics 2014 

    Finished “You” section from p. 25-34

    Three Takeways:

    • Cool idea in of bar chart built up of stacked words to show (showing changes in number of words added in English language throughout the centures. p. 26-27
    • Use of pictographs in describing ingredients and steps in a recipe ->  have seen something similar in industry using icons for safety manuals that are much more engaging (and more understandable) than standard lists of words or documentation. p. 30-31
    • Using annotations to answer obvious questions to maintain data integrity (eg. how data normalization worked when comparing metrics of states with two different pop) p. 33
  • 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.

    • Note to self.  Time to start winding down and giving self set time split up in a few mornings and evenings a week now that I’m settled into my new life in NY and can’t run off adrenaline anymore.
    • Try to split into 50/50 learning of design and code/technical work.
    • Since I code or use a tool like Tableau everyday at work, I’m learning toward learning about design and visual theory if I have to get one thing done a day.  This is everything from decomposing (see previous posts) data visualizations that live in the world to reading various literature, everything from style guides to dense theory about data visualization.

    Reading and Learning Data Visualization Theoretically/Critically:

    The Best American Infographics 2014 

    “You Section” p. 13-25

    Three Takeaways

    • Overlapping matrixes are an interesting leverage of grouping and scales but can be confusing without contrasting annotations and color choices.
    • Choice of shadow and annotations to show a fluid process gives an otherwise static image movement
    • Use of a layered bar graph can be more textured/useful/convey more data with a zoom-in showing a matrix of dots to break down the lines that are less visible
  • 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.

    Reading and Learning Data Visualization Theoretically/Critically:

    Knight Journalism Course for the Americas:  Data Visualization and Infographics with D3! 

    Alberto Cairo Module 2 Part 3 – Part 6 

    Three Takeways:

    • Graphics made to mislead including bucketed dates or leaving out information – choosing the headlines first and finding data to corroborate
    • “Motivated Reason” – you look for data that corroborates your story – data needs to be explored, take into account confounding variables, etc.
    • Give enough information to give contest, don’t feed audiences and let their biases fill the picture -> example of simplistic maps of Ukraine’s conflict that appeared to show a geographic split whereas the situation was incredibly more complicated.

    The Best American Infographics 2014 

    Intro and “You Section” p. xi – 13

    Three Takeaways

    • Importance of combining aesthetics, technology, and journalism
    • Use of color to tie together data points
    • Use of weighted lines to string together a narrative
  • 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:

    -Javascript Review on Treehouse -> running through tutorials selectively for better “muscle memory” so to speak at work.  I learned to code in Python and mainly used that and bits and pieces of R but got hired for a Javascript gig.  Time to go in deep.

    Reading and Learning Data Visualization Theoretically/Critically:

    WSJ Guide to Information Graphics 

    Chapter 4 Sticky Situations

    Three Takeaways:

    • Remember, bar charts are for discrete quantities.  Do not change into a line chart to exaggerate a trend p. 126
    • Magnify recent dramatic changes if necessary -> but keep in historical context. p 127
    • Ant vs Elephant -> Percentage changes are often more telling than absolute values. p. 128

    Module 2 Knight Center for Journalism in the America’s Course Lecture by Alberto Cairo: What Makes a Great Visualization? 

    Three Takeaways:

    • Five Features that Define Great Visualization:
      • 1) Truthful
      • 2) Functional
      • 3) Beautiful
      • 4) Insightful
      • 5) Enlightening
    • Don’t
      • Lie to others
      • Lie to yourself
      • Minimize misunderstandings
    • Graphics are meant to be read, not just glanced at.
  • 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.

    Decomposition of a Visualization:

    Note to self:  Haven’t been doing these as much lately, but incredibly helpful for learning how to communicate and to get ideas.  Try to get at least three of these a week so you put in the extra thought to what you see and read.

    Infographic: Fewer Americans Are Seeing the Benefits of Higher Education

    • What are the:
      • Variables (Data points, where they are, and how they’re represented):
        • Students enrolled in degree problem denoted by size and color
        • Students dropping out denoted by angle
        • Time on x-axis, debt and funding y-axis in area “mountain” view with different colors
        • Time on x-axis, number of students foreign and American on y-axis in “mountain” view with different colors
      • Data Types (Quantitative, Qualitative, Categorical, Continuous, etc.):
        • Quantitative
        • Categorical (students)
        • Continuous (time)
      • Encodings (Shape, Color, Position, etc.):
    • What works well here?
      • Use of size angle and flowing shapes very compelling in showing proportions of students and what happens
    • What does not work well and what would I improve?
      • Two bottom mountains graphs appear to be connected because of size and color but are not.  I would change the the color scheme more to denote the difference.
      • Color schemes in general are too similar for different types of data, making a compelling story a little less so because of extra processing time needed to understand the visual.
    • What is the data source?  Do I see any problems with how it’s cited/used?
      • Not clearly cited.  Not good.
    • Any other comments about what I learned?
      • Interesting use of combining size, angle, and position to position a psuedo-linear story.

    Code/Technical Learning:

    Hodgepodge of tasks:

    Three Takeways

    • Javascript Review on Treehouse
    • Integrating D3 with Tableau
    • Getting better at SQL queries to create efficient tables to work with
  • 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/Technical Learning:

    Tableau Javascript API Training

    Three Takeaways:

    • How to deal with date times
    • Filtering for min and max
    • How to set-up for exporting to PDF

    Reading and Learning Data Visualization Theoretically/Critically:

    WSJ Guide to Information Graphics

    Chapter 3 Ready Reference

    Three Takeaways

    • Log scales allow you to include values that span orders to magnitude on x-axis and adjust grid lines so incremental change at different values of the y-axis reflects its relative significance.  p. 100-101
    • Watch out for using non-comparable scales – readers expect a flat line for small increases and a steeper slope for bigger increases.
    • Charing the absolute values or the percentage changes from the initial data point yields the same shape for the graphs.  The chart plotting the percentage changes accentuates the changes from the baseline. p. 107
  • 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.

    Back in the game.  Ended up taking a week or so off due to moving into a new apt and travel.  These posts will also be more succinct since most of my learning is on-the-job which I need to keep appropriately proprietary.

    I will still continuing this exercise, however.  It keeps me accountable, and most importantly, helps keeps a paper trail to that forces me to learn more actively where I might have passively read over some materials.  It leaves a record for me to review and reflect on and connect the dots and also see the process that’s happened along the way.  It can feel like I hardly know anything given that my work process and my learning hasn’t been very linear, but this lets me see the effort and progress made and where to connect the dots.

    Done in last posting:

    • Created well-received client-ready Tableau Dashboard Prototype out of a dataset of billions or records
    • All Tableau Tutorials except API – in progress now

    Code/Technical Learning:

    Tableau Javascript API Tutorials

    Three Takeaways

    • How to create interactivity with filter functions within Tableau API
    • Understanding how Asynchronicity works in Tableau API context
    • Event handler functions within Tableau API
  • 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.

    Just as a note to myself – huge improvements on Tableau performance and optimization.

    The Wall Street Journal Guide to Information Graphics: The Dos and Don’ts of Presenting Data, Facts, and Figures

    Chapter 3 Ready Reference (Math) Reading – Three Takeways
    • Median is useful for ranking outcomes.  Mode helps focus on typical outcome.  Standard deviation shows how tightly data is dispersed along mean.  Highly volatile stock has a high standard deviation.
    • A log scale allows you to include values that span orders of magnitude.  Using a log scale for timeline on x-axis allows you to show more detail in the short term on chart.
    • Y-axis on log scale adjusts the grid so that incremental change at different values of y-axis reflects its relative significance.