Git Product home page Git Product logo

json-to-highchart-compatibility's Introduction

JSON to HighChart.JS compatibility

  • Convert the High Scale JSON data set into HighChart drawable (x,y) coordinate format.
  • Possible to do calculations for x, y axis (ex: assign the exitTime-InTime to y axis)
  • change the starting point of X axis

Running the Application

  1. clone the a repository and navigate into it.
  2. paste your dataset in the dataset directory and rename it as input (no extension)
  3. open a terminal there and run the program using node server

INPUT dataset patterns

{"device_id":"T076453","ip":"11.22.243.77","city":"Moratuwa","temp":30,"timestamp":"2018-04-12 21:59:59","intime":1.523570400155E12,"outtime":1.523570400378E12}
{"device_id":"T129741","ip":"11.22.243.77","city":"Maharagama","temp":30,"timestamp":"2018-04-12 21:59:59","intime":1.523570400155E12,"outtime":1.523570400378E12}

OUTPUT dataset patterns

[
[10000000,223],
[10000001,223]
]

Known Issues

  • remove the last , (comma) and add a ] (square closing bracket) at the end

Author : Omal Perera (https://omalperera.github.io/)

json-to-highchart-compatibility's People

Contributors

omalperera 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.