Giter Club home page Giter Club logo

webar-stock-dataviz's Introduction

Tessr WebAR Stock Screener

A 3D Stock Data Visualization in Augmented Reality on the Web!

This project was made to experiment with A-Frame's new AR mode in Chrome via the WebXR Device API.

Try out the demo here: https://webar-stock-dataviz.netlify.com/

You will need to enable the following experimental chrome flags (currently supported on ARCore-compatible Android devices in Chrome 79 or later):

  • WebXR Device API
  • WebXR AR Module
  • WebXR AR DOM Overlay

Project Setup

For proper development environment setup, please check out the companion article on Medium.

I will be releasing a second article soon giving a detailed runthrough of how the project was made.

Main Project Files

  • index.html - 3D Scene with A-Frame and Stock Data Search Menu
  • style.css - CSS styles for all 2D DOM components and AR mode configurations
  • sceneData.js - Functions for data retrieval and creation of scene from data
  • dataPoints.js - Functions for creation of entities used to visualize retrieved data points
  • aframeComponents.js - Components for initialization and updates of entities used in the scene

How to Get Stock Data

To retrieve live stock data, you will need an IEXCloud API Key. You can create an account with their free tier here that includes up to 50,000 messages (data points) per month.

I have included test stock data that you can use prior to gaining an API Key.

In this project, I have limited the request ranges to 5 days and 1 month to not use up the free tier limit too quickly. If you would like to retrieve larger ranges, check out the IEXCloud API documentation for historical price data parameters.

Additional Questions

If you have any questions regarding the project or need help setting it up, feel free to reach out to me on twitter (@tessrUX). Cheers!

webar-stock-dataviz's People

Contributors

gabrielmartins avatar tessrux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.