Day 152 of 180 Days of Data Viz Learning

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:
Chapter Two Information Visualization Data Flow
  • “Both d3.csv() and d3.json() use the same format when calling the function, by declaring the path to the file being loaded and defining the callback function… You first get access to the data in the callback function, and you may want to declare the data as a global variable so that you can use it elsewhere” P 48

d3.csv(“cities.csv”, function(error, data) { console.log(error, data) });

               d3.csv(“somefile.csv”, function(error, data) { doSomethingWithData(data) });
  • “You when load a JSON file, it could return an object with several name/value pairs.”
    • eg object initialized as data with name/value pair: [Array of Data], eg why you’d need to refer to data.tweets after we’ve loaded tweets.json, but data when we load csv.
  • “d3.csv() has a method .parse() that you can use on a block of text rather than on an external file p 50”

Reading and Learning Data Visualization Theoretically/Critically:

The Functional Art: An Introduction to Information Graphics and Visualization by Alberto Cairo

p 325-350(end) The Rising Stars and Visualizing Literature

Three Takeaways

  • “A plain bar chart, praised a lot for its efficiency in communicating numbers, also has the potential of scaring people away because it’s also a very abstract representation.  We should be aware that some people are not able to connect emotionally to highly efficient charts, but to feel attracted to, and understand, displays the include little pictograms, icons, and illustrations.  Fun can promote learning.” p. 335
  • Ghost towns as an example of visuals that combine lines and bubble charts and heat maps, beautiful p 336
  • Think of the connections you can do with visuals that mimic organisms in the natural world, eg. trees in visualizing literature examples that can connect with people p 350

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s