Coder Social home page Coder Social logo

awalin / deck.gl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from visgl/deck.gl

0.0 2.0 0.0 109.53 MB

WebGL2 powered geospatial visualization layers

Home Page: http://uber.github.io/deck.gl

License: MIT License

Shell 0.35% JavaScript 96.93% HTML 0.29% CSS 2.42%

deck.gl's Introduction

version build downloads stars Coverage Status

deck.gl | Docs

A WebGL overlay suite for React providing a set of highly performant data visualization overlays

docs

Provides tested, highly performant layers for data visualization, such as scatterplots, arcs, geometries defined in GeoJSON, etc...

npm install --save deck.gl

Using deck.gl

To learn how to use deck.gl through examples coming with the deck.gl repo, please clone the latest release branch.

git clone -b 5.1-release --single-branch https://github.com/uber/deck.gl.git

A very simple usage of deck.gl is showcased in the hello-world examples, using both webpack2 and browserify, so you can choose which setup you prefer or are more familiar with.

import DeckGL, {ArcLayer} from 'deck.gl';

const flights = new ArcLayer({
  id: 'flights',
  data: [] // Some flight points
});

<DeckGL width={1920} height={1080} layers={[flights]} />

You can also take a look at the docs website or browse directly the docs folder.

Developing deck.gl

The master branch is the active development branch.

npm run bootstrap
npm test
npm start  # See note below

Note that npm start in the main directory actually runs examples/layer-browser.

Node Version Requirement

Running deck.gl as a dependency in another project (e.g. via npm i deck.gl) requires Node 4.x or higher. Building deck.gl from source has a dependency on Node 8.x or higher. Either upgrade to a supported version, or install something like nvm to manage Node versions.

Install yarn

On macOS deck.gl uses yarn to manage packages. To develop deck.gl, install yarn with brew

brew update
brew install yarn

Contributing

PRs and bug reports are welcome. Note that you once your PR is about to be merged, you will be asked to register as a contributor by filling in a short form.

Data sources

SF OpenData

TLC Trip Record Data

Mapzen

deck.gl's People

Contributors

ibgreen avatar pessimistress avatar 1chandu avatar jianhuang01 avatar heshan0131 avatar gnavvy avatar georgios-uber avatar apercu avatar ericsoco avatar person594 avatar balthazar avatar kevingrandon avatar javidhsueh avatar jonsadka avatar chrisirhc avatar firenze11 avatar manassra avatar wwwtyro avatar ashleytravers avatar mcnuttandrew avatar msalasch avatar mike-marcacci avatar nicolasgramlich avatar tehwalris avatar priyansh1161 avatar r-mach avatar samhogg avatar micrypt avatar twojtasz avatar healy-uber avatar

Watchers

James Cloos avatar awalin sopan 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.