[CSCI 3665] Interactive Data Visualization

Instructor: Clare Bates Congdon


Measuring the Relative Importance of Different Agricultural Inputs to Global and Regional Crop Yield Growth since 1975

Name: Son D. Ngo, James Boyle and Do Yeun Kim
Date: December, 1st 2016
Assignment: FP8b - Project Weekly Report

Project Portfolio

Weekly Accounting of Contribution

  1. General Information

    In this report, we will provide a weekly description of what we have accomplished in order to achieve our goals. Along the way, there will be new subgoals/goals that emerge in response to our implementation. With that being said, this report will help prospective users and collaborators keep track of where we are. Should there be any discrepancies between versions, this report will be very helpful in solving these conflicts. The outline of this project will be in goal-progress format. This means that all the goals will be listed, and specific progress will be added below, with the date of completion. Expected immediate goals for the following weeks will be in teal colors.

  2. Weekly Report

    1. Week 12: Nov 15 - Nov 17

      • 11/14: Meet with our collaborator to discuss his goals and questions.
      • 11/16: Finalize questions we would like to tackle, and sketch out potential visualization and interactions.
      • 11/16: Write up necessary documents, organize project folders and setting up html files.
      • 11/16: Think about goals to complete next week:
      • 11/17: Consolidating questions after consulting with Clare
        • We decided to put aside the line graph for the time being, and focus on the other two.
        • No particular modification needed for the scatter plot.
        • We decided that we would use crop yield (million Kcal/ha) instead of crop type for the geomap visualization.
          • We would use a linear gradation of colors to show the "capacity of the land" denoted by the crop yield.

    2. Week 13: Nov 22 - Nov 24

      • 11/19: Data reformated to fit scatter plot format
        • Json format.
        • Obtain mins and maxes of the x,y-variables and plot radius.
      • 11/19: Geomap data obtained
        • The first copy discarded as the format was extremely unfit, resulting in 4 days of aimless coding.
        • Obtained a new one, applied Eckel4 projection to address accurate representation of landmasses and aesthetics.
      • 11/21: Rough draft of the scatter plot finished.
        • Year title on top changes according to the current year.
        • Tropical versus Temperate region color-coded.
        • The scatter plot is animated over time (from 1975 to 2002).
        • Issue: Data referencing is not correct, so transition is not applied. Took forever to figure out!
      • 11/21: Static global map layout finished.
      • 11/23: Finish writing project goals and description (revised version).
      • 11/23: Start coloring the countries according to their crop yield data in year 1975 (static).
      • Goal for next week:
        • Work on adding the play/pause/reset functions for scatter plot.
        • Work on making a static full map, with colors and tool tips for geomap.
        • Work on interactions with the slider, making sure that the color changes on sliding in real time.

    3. Week 14: Nov 29 - Dec 1

      • Coding
        • Add buttons that can control the animation of the scatter plot: play, pause, reset, speed up, slow down, and rewind. (Son - 100%)
        • Add radio buttons to the scatter plot that allows the user to switch between crop yield units (million kcals/ha or tons/ha) and between temperature type (daytime/nighttime). (Son - 100%)
        • Add a slider to the choropleth map and enable real-time update when the user changes the slider's value. (James - 90%, Do - 10%)
        • Adjust color scheme for the choropleth map with log scale in order to enhance the visibility of the visualization. (Do - 100%)

      • Documents writing
        • Update weekly report (FP8b) to reflect new goals after meeting with Erik Nelson and talking with Clare. (Son - 100%)
        • Create a README file for the project to describe the structure of the folders. (Do - 100%)

    4. Week 15: Dec 6 - Dec 8 (goals)

      • Add tooltip that display a country's details when user hovers over a dot.
      • Add a radio button to allow user to switch between crop yield units (million kcals/ha or tons/ha).
      • Add options to specify the number of countries to be displayed (instead of static 20).
      • Create a bug-free version with the two visualizations.
      • Start working on final presentation.
      • Working on line graph: radio buttons for line graphs to switch between region types (tropical, temperate or global).

    5. Remaining Week: Dec 12 - Dec 19 (goals)

      • Keep cleaning up and fix as many bugs as possible.
      • Complete potential overflow from previous weeks.
      • Work on flex goals: interactivity and tooltips for line graph. Integrate this into our finished visualizations.
      • SUBMIT!

    6. Future Goals

      • Add the ability to aggregate data - grouping similar countries into one data point.
      • Add the ability to choose base year instead of static 2002, together with specifying top X countries, where X is also specified by the user.

References
  1. Nelson, Erik and Bates Congdon, Clare, "Measuring the Relative Importance of DIfferent Agricultural Inputs to Global and Regional Crop Yield Growth Since 1975" (2016). Economics Department Working Paper Series. Paper 12.
    http://digitalcommons.bowdoin.edu/econpapers/12

External Links
To Son's homepage
To James' homepage
To Do's homepage