Coder Social home page Coder Social logo

data-hko's Introduction

天文台理想與現實

香港天文台的預測經常令你失望?是你的心理作用,還是這台的預測真的有偏差?這個 d3.js Visualisation 連 Web Scraping 的示範讓你一眼看通事實!

預覽圖

REQUIREMENTS

你需要以下軟件來運行 Visualisation 和 Web Scraping 部份

  • Node.js (版本 10 或以上)

INSTALLATION

  1. 把這專案 clone 下來

  2. 在這專案中執行 npm install

  3. 如需 scraping,可修改 forecasts.jsactuals.js,然後在這專案中執行 node forecastsnode actuals

  4. 如需顯示 d3.js 的圖表,可在這專案中執行 node server

TODO

  • 無需要修改源碼,便可更容易作 scraping
  • CI/CD
  • Frontend 自訂「實際有雨」的定義
  • 於每小時雨量報告,以地區作篩選
  • 只計算八點後的降雨量
  • 抓取九天天氣預報
  • 視頻教學

LICENSE

This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

data-hko's People

Contributors

alexlau811 avatar gordonlau 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.