deck.gl README

The project's README from github.com/visgl/deck.gl. As one markdown file: README.md.

version build downloads Coverage Status

deck.gl | Website

GPU-powered, highly performant large-scale data visualization

docs

deck.gl is designed to simplify high-performance, WebGL2/WebGPU based visualization of large data sets. Users can quickly get impressive visual results with minimal effort by composing existing layers, or leverage deck.gl's extensible architecture to address custom needs.

deck.gl maps data (usually an array of JSON objects) into a stack of visual layers - e.g. icons, polygons, texts; and look at them with views: e.g. map, first-person, orthographic.

deck.gl handles a number of challenges out of the box:

Deck.gl is designed to be highly customizable. All layers come with flexible APIs to allow programmatic control of each aspect of the rendering. All core classes such are easily extendable by the users to address custom use cases.

Flavors

Script Tag

<script src="https://unpkg.com/deck.gl@latest/dist.min.js"></script>

NPM Module

npm install deck.gl

Pure JS

React

Python

pip install pydeck

Third-Party Goodies

Learning Resources

Contributing

deck.gl is part of vis.gl, an OpenJS Foundation project. Read the contribution guidelines if you are interested in contributing.

Attributions

Data sources

Data sources are listed in each example.

The deck.gl project is supported by

BrowserStack

deck.gl (visgl/deck.gl)

Searching Database…

14.7K ·GitHub
这是什么?deck.gl 是一个基于 WebGL2/WebGPU 的框架,用于高性能地可视化大规模数据集。你可以在地图、第一人称视角或正交相机等视图之上,组合图标、多边形、文字等图层。
它是库还是完整的框架?它是一个具有可扩展架构的框架:你把数据(通常是 JSON 对象)映射成一组可视化图层,再通过可配置的视图呈现出来;你也可以基于其核心类构建自定义图层。
我怎么把 deck.gl 加到项目里?你可以通过 script 标签使用,也可以作为纯 JS NPM 模块、React NPM 模块,或通过 Python 绑定使用。每种方式在 README 中都有各自的「Get started」指南链接。
deck.gl 能在哪些平台上运行?只要浏览器支持 WebGL2 或 WebGPU,它就能运行。它可用于 JavaScript/TypeScript 网页应用、React 应用,也可以通过其 Python 绑定用于 Python 环境。
deck.gl 开箱即用能做什么?它能高性能地渲染和更新大规模数据集,处理交互事件(拾取、高亮、过滤),支持与主流底图提供商配合使用的地图投影,并附带一套经过验证和测试的图层库。
除了 JS 和 Python,我还能用其他语言使用 deck.gl 吗?可以。已有第三方绑定可用于 R(mapdeck)、Vega(vega-deck.gl)、Google Earth Engine(earthengine-layers)和 C++(deck.gl-native)。
除了内置图层,deck.gl 还能自定义吗?可以。所有图层都提供灵活的 API,便于通过程序控制;核心类也可以扩展,以满足自定义需求。
Creator
visgl
Size
1 GB
Stars
14.7K
Age
10y
Commits · 90 Days