Giter VIP home page Giter VIP logo

powdergraph's Introduction

PowderGraph

Live Link

Overview

PowderGraph is a visualization application to show how much snow has fallen monthly throughout the years in Lake Louise - Alberta, Canada.

Functionality

  • The app consists of a single page
  • A user can select a year to view the total amount of snowfall and toggle to rain totals as well.

Technologies employed

  • Vanilla JavaScript for data sorting.
  • D3.js for visualizing the data.
  • HTML
  • CSS

Data

  • Data was obtained from the Government of Canada Environment and Natural Resources Climate Data Website LINK
  • Data was downloaded in csv file format using a Homebrew script for all available years that the weather station was in operation
  • The data was parsed and statically available on the website

Features

A user can select a year using the slider to view monthly snow fall totals and hover over each bar to view exact values. Wireframe

A user can click the button to toggle between snow and rain fall totals. Wireframe

CODE

Data download

  for year in `seq 2000 2005`;do for month in `seq 1 12`;do wget --content-disposition "http://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=csv&stationID=2409&Year=${year}&Month=${month}&Day=14&timeframe=3&submit= Download+Data" ;done;done

Possible Future Implementations

  • The ability to search all weather stations in Canada and have the application automatically fetch the data so that it can be displayed within the graph.
  • Adjust graph bar colors to change shading based on total snowfall for given month compared to average totals for the specified month for all years data has been recorded.

powdergraph's People

Contributors

kopecmark avatar

Watchers

James Cloos 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.