Skip to content

Glitterrosie/DataVisualisationProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataVisualisationProject - CO2 Emissions

Project Description

This is a project developed together in the course "Data Visualisation" at Aarhus University. The goal is to implement an interactive visualisation to show a dataset of our choosing.

Running the javascript code

  1. Make sure your CSV files are in a data/ folder:
   your-folder/
   ├── index.html
   └── data/
       ├── greenhouse_gas_with_population.csv
       └── greenhouse_gas_per_sector.csv
       └── global_temperature_increase.csv

  1. Start a local server:

    Python:

   python -m http.server 8000

Node.js:

   npx http-server
  1. Open http://localhost:8000 in your browser (this also might be: http://127.0.0.1:8080/)

Setup

Clone and Setup the Repository locally

  1. You can find the Repository holding the code here.
  2. In order for the next steps to work you need to have git installed. You can find a tutorial here.
  3. Verifiy that git is running on your machine by running git --version in the terminal.
  4. Now you can clone the repository. On GitHub go to Code and copy the http address.
  5. Now go to your terminal and navigate to the location where you can to put the code.
  6. Enter git clone copied-http-here, to clone the repo in this location.
  7. Now you can open this folder in e.g. Visual Studio Code.

How to use Git for this project

Git is a version control tool that enables us to work on our features seperatly and then merge them together. If you want to work on a feature you need to follow these steps:

  1. Create a branch. A branch is a copy of the current project that you have locally on your PC. Changing stuff on this branch is not going to change anything on the production version of the code. Be carefull not to work on the branch main, as this is the production version.
  2. Name this branch in a way, that we can easily see which feature is implemented on this branch.
  3. This branch is now you playground. You can change and adapt anything you want.
  4. To save you progress you need to commit and push. In committing you transfer all changes you have on your local branch to the online version of the branch. This again does not change the production code, it just makes your changes available for everyone. When committing, add a message to indicate what has happened.
  5. If you want to update any branch with the pushed changes, you need to pull.
  6. If you are finished with your code, you can create a pullrequest on github, to merge your changes into the production version.

A detailed tutorial on using git with Visual Sudio Code can be found here.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5