Giter Site home page Giter Site logo

laomouzi / mpf_vis Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ywng/mpf.vis

0.0 2.0 0.0 245 KB

Visualization of Hang Seng Bank MPF Scheme (Super Trust Plus)

Home Page: http://ywng-d3apps.rhcloud.com/mpfvis/

JavaScript 44.84% HTML 55.16%

mpf_vis's Introduction

MPF Vis

http://ywng-d3apps.rhcloud.com/mpfvis/

Visualization of Hang Seng Bank MPF Scheme (Super Trust Plus)

It aims to provide a good visulization of time series data. The MPF Funds should be conveniently viewed, retrived, compared(may be). So, here I proposed a multi-series line plot for visulizing a set of MPF funds (Hang Seng Bank Super Trust Plus Scheme).

It allows quick interaction with data. The system is developed with mainly D3.js, manipulating SVG. Have a look at it: http://mpf.vis.ywng.cloudbees.net/

alt tag

Design Characteristics:

  1. Allow quick selection of the funds, and add it into the plot (click the color rect next to fund name)

  2. Auto adjust of y-axis according to the selected funds

  3. Allow traversal of time line quickly, quick selection of time interval (select over the yellow slider bar at the bottom)

  4. Has a picker line to view the detailed price and date

  5. Show price percentage changed and highlighted accordingly (red: decrease; black: increase)

  6. Quick view of return of any length of time interval dated back (if no mouse move over the graph, then 1 day return / change of price will be shown, if mouse over the curve, then the return from that date (hover line) to present is shown)(E.g. in the screen shoot, the % change is the return from Apr 1, 2013 to present)

For the price data of those MPF fund, I scrapped it from Bloomberg webpage, by a servelet (see further the code on my github:https://github.com/ywng/MPF_Portal )I made, which is then trigger by an online scheduler server (cron scheduler: https://mywebcron-com.loopiasecure.com/members.php?Jobs). So, the price is extracted daily and updated into my database (free host: http://www.db4free.net/). After extracting the data, I also made an API url for external requesting of data.

mpf_vis's People

Contributors

ywng avatar

Watchers

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