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

    Reading Nathan Yau’s book Visualize This

    80-90 Tools to Visualize Data Chapter

    Three Takeaways:

    • Maps that are zoomable and able to be moved and panned easily are known as slippy maps – split into smaller images, or tiles.  Example of this is Google maps  p. 80
    • Mapping resources for data viz include: Google and Microsoft maps, ArcGIS, Modest Maps, Polymaps, GeoCommons, IndieMapper, Spatial Key R p. 86
    • Combining different software or solutions is a key to creating better data viz – as each has its own strengths and thresholds p 89
  • 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:

    Reading Axes, Formatting, and Time Formatting D3 Documentation

    Three Takeways:

    • Axes example:
      • D3 axis component displays reference lines for scales automatically.
      • Tick values:
        • var xAxis = d3.svg.axis()
          • .scale(x)
          • .ticketValues([1,2,3]);
    • Format example:
      • Various d3 formatting methods for numbers, etc.
      • d3.round(12.5, 0); // 13
    • Time Format example:
      • For parsing and formatting dates
      • d3.time.format(%Y-%m-%d)

    Treehouse Back-to-Basics (again, not taking notes for basic review):

    Going through Front-End WebDev

    Reading and Learning Data Visualization Theoretically/Critically:

    Reading Nathan Yau’s book Visualize This

    46-80 Handling Data + Tools Chapters

    Three Takeaways:

    • Use Python to format date times and convert to XML or JSON p 50
    • Out-of-the-box Viz tools: Excel, Many Eyes, Google Spreadsheets, Tableau, y.flowingdata p 60
    • Illustration tools: Adobe Illustrator, Inkscape p.79
  • 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: 

    Treehouse Back-to-Basics (again, not taking notes for basic review):

    Going through JQuery Basics and Front-End WebDev

    Reading and Learning Data Visualization Theoretically/Critically:

    Reading Nathan Yau’s book Visualize This

    14-46 Stories + Handling Data Chapter

    Three Takeaways:

    • Axes and Scaling labeling of outmost importance p 16
    • You can look to Wolfram|Alpha in addition to Google when searching for data p 23
    • Good refine, mr data converter, and mr people can be good formatting tools for you p46
  • 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: 

    Intermediate D3 for Data Visualization Knight Center Course

    Module 2 Stack Layout:

    Three Takeaways:

    • d3.layout.stack() to create a stacked bar chart
    • stack layouts calculate baselines for each bar stack as a y0 value in array
    • How to calculate heights in stack layout
      • var rects = groups.selectAll(“rect”) // within each group, we do another data binding, select all rects and bind this data
        .data(function(d) { return d; }) // take data already bound to group, create rect for each one, and set x-width for each
        .enter()
        .append(“rect”)
        .attr(“x”, function(d, i) {
        return xScale(i);
        })
        .attr(“width”, xScale.rangeBand())
        .attr(“y”, function(d) {
        return h – yScale(d.y0) – yScale(d.y); //Flip the math!
        })
        .attr(“height”, function(d) {
        return yScale(d.y); //use y values to calculate height
        });

    Interactive Data Visualization for the Finished Chapter 10 Interactivity 

    Three Takeways

    • Bind event listeners to g elements if you want them to behave as a group -> useful for when you need “several visual elements to act in concert”
    • For sorts, you need to specify how two items should be compared, versus just calling .sort() for example
    • You can use HTML div element to create a tooltip with CSS

    Treehouse Back-to-Basics (again, not taking notes for basic review):

    Going through JQuery Basics

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

    Reading Nathan Yau’s book Visualize This

    6–14 Intro

    Three Takeways

    • “Think character development.  Every data point has a story behind it in the same way that every character in a book has a past, present, and future  There are interactions and relationships between those data points.  It’s up you to find them” p. 7
    • Always look for two things in data: patterns and relationships p. 8
    • Having a graphic in a legend is a good technique to provider broader context p. 14
  • 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: 

    Intermediate D3 for Data Visualization Knight Center Course

    Module 1 Intro (Transitions, Tooltips, Context + Framing):

    Three Takeaways:

    • Review/note to self remember .transition() .delay() to create loading look and feel for charts
      • eg rects.transition()
        //Introduce a per-element delay
        .delay(function(d, i) { // delay function to delay each element for transition
        return i * 50;
        //Or try this instead:
        //return (data.length – i) * 50;
        })
        .duration(1000)
        .attr(“width”, function(d) {
        return widthScale(d.lifeSatisfaction);
        });
    • So much of styling in D3 is a confusing interplay between CSS and attributes
    • Remember to use and stylize divs and create various #container to better display visuals

    Interactive Data Visualization for the Web End of Chapter 9 Updates, Transitions, and Motion and Beg of Chapter 10 Interactivity 

    Three Takeaways:

    • By default data joins are performed by index, meaning order of appearance.  For more control over data joins, specify a key function (eg. var key = function(d) { return d.key;};
    • The update selection can contain enter and exit selections, which can be accessed via enter()and exit().
      • When there are more values than elements, an enter selection will reference the placeholder, not-yet-existing elements.
      • When there are more elements than values, an exit selection will reference the elements without data.
    • Example of using Javascript event listener (d3 recognizes all standard js events)
    • //Create barssvg.selectAll("rect")
         .data(dataset)
         .enter()
         .append("rect")
         …   //Set attributes (omitted here)
         .on("click", function(d) {
             //This will run whenever *any* bar is clicked
         });
  • 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: 

    • Back to basics learning on Treehouse – How to Make a Website
      • Finding now more than ever, need to fill in the gaps where I’m missing fundamentals

    Intermediate D3 for Data Visualization Knight Center Course

    Module 1 Intro (mostly recap):

    Three Takeaways:

    • Standard D3 pattern for binding data to new elements is: selectAll / data / enter / append
    • You specify the length (in time) of a D3 transition with .duration(milliseconds)
    • You create a per-element delay for a new transition by multiplying the index value of each element by some small amount

    Reading and Learning Data Visualization Theoretically/Critically:

    Reading Nathan Yau’s book Visualize This

    xv-5 Intro

    Three Takeways

    • “Visualization isn’t just about getting the cold hard facts… it’s almost more about the entertainment factor… stories revolve around human emotion over numbers and analytics” p. xxi
    • “Ultimately, you’re looking for truth” p. xxi
    • Balance between insights and storytelling -> you can use an “emotional point of view that encourages viewers to reflect on the data” p. 5
  • 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:

    Reading Nathan Yau’s book Data Points – Visualization that Means Something

    p. 260-290 Things to Consider and Wrapping Up

    Three Takeaways

    • “Sometimes, when you work with a dataset for awhile, it’s easy to forget that others aren’t as familiar with it as you are.  When you know all the intimate details, it’s hard to step back and remember what it was when you first opened up a file or database- just a bunch of numbers.  However, that’s where a lot of people are when they look at visualization, so bring them up to speed.” p 259
    • “The best way to learn where people are is to show your work to those who don’t know your data.  You get an immediate sense of understanding from first impressions” p 259
    • Don’t avoid more advanced visualization techniques if they can’t be understood from first glance – just be sure to be able to tell your story p 261
  • 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: 

    • Doing some “back to basics”
      • Front-End WebDev Course on Treehouse – Going through How to Create a Website

    Reading and Learning Data Visualization Theoretically/Critically:

    Reading Nathan Yau’s book Data Points – Visualization that Means Something

    p. 243-259 Common Misconceptions

    Three Takeaways

    • “Some assume that insight form every data graphic should be instant, and in many cases, this is perfectly valid… on the other hand a tool designed to explore connections between millions of people can be complex and require time to understand.  You might show simple views and aggregates, but you might also miss details that could lead to better understanding of the data.” p. 244
    • “The point of visualization is to understand relationships in data and patterns in data, so when you don’t have the data to do that, you don’t need to squeeze out something visual.” p. 248
    • Learn visualization rules, but don’t feel held by them hard and fast p. 254
  • 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:

    Reading Nathan Yau’s book Data Points – Visualization that Means Something

    p. 211-242 Annotation

    Three Takeaways

    • Use annotations to make statistical trends in charts clear – esp since a lot of lay audiences won’t understand something like a scatterplot or histogram offhand p. 232
    • Do the math and call out trends and important info with annotations  combined with highlighting and color hue p. 236-237
    • If using new visual encodings, prime your audience because they may not be able to understand data offhand p. 242