A2: D3 assignment --- part 2

Due date: Nov 2 (23:55)

This is an introductory assignment designed to get you up and running with HTML, CSS, JavaScript, and designing a visualization with D3. Be aware that this course uses version 7.9.0 of D3.

Use the world_fertility_rate_1960_2020.csv dataset for this assignment. (Data source: https://data.worldbank.org/indicator/SP.DYN.TFRT.IN) (Note that some countries with missing values on certains years have been removed from the dataset for the sake of simplicity for the current assignment.)

Learning objectives

Recommended procedure

A multi-line chart showing the fertility rate (births per woman) in per country in the world

Grading

We’ve broken the learning objectives down by numerical grade, 1 through 5. You will receive the best grade for which you’ve met at least one objective plus all fully completed grades below. Please be aware that that means that if you haven’t fully met all objectives for getting a 3 then you won't get a 2 or 1 even if you’ve completed all the objectives for the grade 2 or 1. We’ve structured the objectives so that they build on each other for the most part. So, in order to show that you’ve learned something for grade 2 then you’ll need to show that you’ve also met all requirements for grade 3, grade 4 and then some.

Grade 4 (50% - 62%)

Grade 3 (62.5% - 74.5%)

all the above plus:

Grade 2 (75% - 87%)

all the above plus:

Grade 1 (87.5% - 100%)

all the above plus:

Video Walkthrough (5 minutes)

With each submission, include a short screen-recorded video (max. 5 minutes) with voice-over that covers:

Required: This video is mandatory. Submissions without a Video Walkthrough will be graded with 0 points. If you have limitations or hurdles creating the video, contact the teaching staff in a timely manner so that a solution can be provided.

Submission instructions

Make sure your submission (i.e. the code) on the almighty web instance and on the Moodle are identical. If you make any changes to your web instance submission after the deadline, make sure you submit the same changes to Moodle as well. These submissions will be compared by us and the modification dates of the files on the web servers will be checked in accordance with the deadlines & grace day usage.

Using your Almighty Web Instance

Login to your student web server instance with the following credentials using a FTP/SFTP client:

Under the user directory (/home/uaccountusername) in the server, create a folder called "public_html" (if it doesn't exist already). The files in this directory are made automatically online under http://wwwlab.cs.univie.ac.at/~uaccountusername/ (replace 'uaccountusername' with your u:account username, which you use to login to Uni Wien services such as u:space)

Inside the public_html folder create a folder called "VIS25W". Inside VIS25W create a folder called "A2". Your submission files should be placed directly in this order, that means your index.html should be immediately inside the A2 folder for this particular submission.

Make sure you visit the site http://wwwlab.cs.univie.ac.at/~uaccountusername/VIS25W/A2/ on your browser (we'll test with Chrome / Firefox) and that your code runs as expected.

Moodle Submission

Please submit a folder containing an index.html file which will open the view, the data file, and a readme describing what you did, why, and the data source(s) you used, as well as any other associated files to moodle. Please be sure if you submit a zip or tar.gz file that it properly unzips the files into a directory. It’s a good idea to try unzipping your file before submitting it to ensure that everything unzips properly and you don’t lose points. Use the following naming scheme for your submission: “uaccountusername_A1.zip” - replace uaccountusername with your u:account username. When we grade your work we will run

python -m SimpleHTTPServer

in the directory and then open index.html. So please ensure that your visualization works correctly under those conditions. Also, please make sure that you include your name in the readme file.

Just to be clear, here is a sample directory layout. You do not have to use this exact format but it must be clear which file is your readme, your html page, your data file, and your javascript file.

uaccountusername
      \
      | README.md
      | index.html
      | d3.min.js
      | vis.js
      | style.css
      | data.csv
      | video.mp4
    

Any additional libraries without prior permission will result in 0% points (Grade 5).

Include your 5-minute video walkthrough file (mp4/mov/webm) inside the same ZIP you upload to Moodle, at the top level of the archive (e.g., uaccountusername_A2.zip contains video.mp4). See AI Usage for disclosure guidance.

Late submission

Late Submissions are possible, you have a total of five grace days for all assignments. After these days are used up, remaining assignments must be submitted on time.

Academic Honesty