Coder Social home page Coder Social logo

data-visualization-plastic-waste's Introduction

Plastic Waste and the Environment

Starter repo for the Data Visualization course (SENG 480B/CSC 511) at UVic.

Dependencies

  • node

Tech Specs

  • Mapbox
  • Mapbox Studio
  • node
  • gulp
  • scss

Development

You'll need to install dev dependencies first. You'll need npm so the scss will compile nicely to css.

npm install
npm run build

After running the above build command, the repo will automatically load in your main browser. Any changes done to any html, scss, or js files will be automatically updated, without the need to reload your browser.

Installation

git clone https://github.com/k-erby/data-visualization-plastic-waste.git

Local Usage

Contributing

Branching

// Creating a branch
git checkout -b new-branch

// Adding after work
git add {$specific file names}
git commit -m "Description of Changes"
git push origin new-branch

Merging Code

# update your origin/* pointers
git fetch

# checkout the branch you’re merging in (assumes branch-name points to origin/branch-name)
git checkout branch-name

# rebase the whole branch onto master:
git rebase origin/master

# update origin/branch name to the new rebased head
git push --force-with-lease origin branch-name

# point your master branch to latest origin/master
git checkout master && git fetch && git reset --hard origin/master

# merge in the branch and force a ‘merge commit’
git merge --no-ff branch-name -m "Merge 'your-branch-name'"

# push your changes; this will automagically resolve the Github PR
git push origin master

# if no issue with merge, you can now delete the branch locally
git branch -d branch-name

# put this deleted branch back into origin
git push origin :branch-name

Additional Sources

Data sets in csv format are found in data folder. The json folder has both a json of our map-based dataset, as well as a geojson version of that and a geojson for the countries.

Future Considerations

  • deploy it so people can access it themselves. (heroku? serverless?)
  • how to display different time ranges
  • how to display difference in disposal/production of plastics

data-visualization-plastic-waste's People

Contributors

k-erby avatar amyhanv avatar cmaricle avatar dependabot[bot] avatar aakashtyagi11 avatar

Watchers

James Cloos avatar  avatar Lily Bryant avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.