Skip to content

avsguy/IT138IU-DSDataVis-Team5Project-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thank you for visiting this repository. This repository is for hosting Team 5's project for the Data Science and Data Visualization course from IU-VNU.

This website would not be possible without Erik Driessen's Scrollama Demo website.

We have used this website as a template for this project, but the data visualization and scrollama configurations and logic were written by the team.

(Last Updated: December 21, 2025)

===========================================================================

Project structure:

├── IT138IU-DSDataVis-Team5Project-2025/
│   ├── data/
│   │   ├── countries.geojson
│   │   ├── country.csv
│   │   └── metric.csv
│   ├── dataCleaning/
│   │   ├── dataprep.R
│   │   ├── metadata.csv
│   │   ├── readme_datacleaning.txt
│   │   └── unemp_worldgdp.csv
│   ├── metrics/
│   │   ├── country.csv
│   │   ├── line2.html
│   │   ├── metric.csv
│   │   └── world_gdp.csv
│   ├── src/
│   │   ├── d3.v7.min.js
│   │   ├── intersection-observer.js
│   │   ├── scrollama.min.js
│   │   └── stickyfill.min.js
│   ├── LICENSE
│   ├── README.md
│   ├── dataviz.js
│   ├── index.html
│   ├── scrollamaCode.js
│   └── styles.css

Sources:

Data

API

===========================================================================

Tools we used for this project:

  • RStudio
  • Visual Studio Code with Live Preview Extension
  • Python local web server for console logging (A guide on how to set up a local web server is at the bottom of this document.)
  • D3.js
  • Scrollama.js
  • For transparency, DeepSeek and Copilot are used for debugging.

Note: Although LLMs are used, they made frequent mistakes that needed double checking constantly. Without knowledge of Javascript, it is impossible to make a working website with correct information.

===========================================================================

For people who would like to learn more about scrollytelling, here are some references.

Essentials

Some very beautiful examples

Other useful resources

The ones below showcase websites that has a lot of scrolling which I personally do not like as it feels tedious, but they are very beautiful. Please check some of them out if this is what you are looking for.

This is not about scrollytelling but here are some references regarding D3.js.

Especially, this video: https://www.youtube.com/watch?v=FTJ7do9FXY8

Note: d3.nest is deprecated. d3.group is needed for grouping data so a lot of these resources are a bit outdated.

About line charts

===========================================================================

How to set up a local web server to see your website and console logs

  1. Make sure you have installed Python or node.js.
  2. Open Command Prompt.
  3. Run this:
cd [insert path to project folder]

Example:

cd C:\Users\...\projectfolder
  1. You can use either of these commands:
python -m http.server 8888

or

npx http-server -p 8888
  1. Enter this in your browser
http://localhost:8888/[put the name of your html file].html

You should see your website now.

Right-click and click on Inspect. Go to the Consoles tab to see your console logs.

===========================================================================

Thank you for reading this.