Due date: Nov 28 (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 6 of D3.
Use the usa_ba-degree-or-higher_2006-2019.csv and usa_personal-income-by-state_2006-2019.csv datasets for this assignment. Additionally you will need a geojson file for displaying the geographical features (i.e. states as polygons) on the map, for this you can use us-states-geo.json file.
We’ve broken the learning objectives down by numerical grade, 1 through 5. You will receive the best grade for which you’ve met all the learning objectives plus all below. Please be aware that that means that if you haven’t met some objective for getting a 3 then you’ll get a 4 even if you’ve completed all the objectives for grade 2. 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 3 then you’ll need to show that you’ve also met all requirements for grade 4 and then some.
all the above plus:
all the above plus:
all the above plus:
Submissions should be done BOTH on Moodle and on the Uni Wien Almighty servers (see the instructions below), e.g.: http://wwwlab.cs.univie.ac.at/~username/VIS21W/A3/ (replace 'username' with your u:account username, which you use to login to Uni Wien services such as u:space)
Important note regarding the submissions of vue.js web application (applies to the usage of other JS frameworks as well): You have to build your web application as distribution code (e.g. "yarn run build") and put these on the Almighty Web Instance. On Moodle you upload both the actual source code and the built code. When you build your source code, it should produce HTML, JS and CSS files which will be served on the web server without the need of Node.JS or the setup of the underlying JS framework. How this build process is executed will be shown and documented in the vue.js tutorial and in the README document of the boilerplate.
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.
Login to your student web server instance with the following credentials using a FTP/SFTP client:
Under the user directory (/home/username) 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/~username/ (replace 'mmustermann' 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 "VIS21W". Inside VIS21W create a folder called "A3". Your submission files should be placed directly in this order, that means your index.html should be immediately inside the A3 folder for this particular submission.
Make sure you visit the site http://wwwlab.cs.univie.ac.at/~username/VIS21W/A3/ on your browser (we'll test with Chrome / Firefox) and that your code runs as expected.
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: “username_A3.zip” - replace username 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.
username
\
| README.md
| index.html
| d3.min.js
| vis.js
| style.css
| data.csv
Any additional libraries without prior permission will result in a 0
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.