@chartts/gl
v0.1.6
Published
WebGL chart types for Chartts. 3D bar, scatter, surface, globe, and more.
Readme
@chartts/gl
WebGL chart types for Chartts. GPU-accelerated 3D and high-performance 2D charts.
Install
npm install @chartts/gl @chartts/coreChart types
| Type | Import |
|------|--------|
| 3D Bar | @chartts/gl/bar3d |
| 3D Line | @chartts/gl/line3d |
| 3D Scatter | @chartts/gl/scatter3d |
| 3D Surface | @chartts/gl/surface3d |
| 3D Globe | @chartts/gl/globe3d |
| GL Scatter (2D, 100k+ points) | @chartts/gl/scatter-gl |
| GL Lines (2D, high-perf) | @chartts/gl/lines-gl |
| GL Flow (particle animation) | @chartts/gl/flow-gl |
| GL Graph (force layout) | @chartts/gl/graph-gl |
| 3D Lines | @chartts/gl/lines3d |
| 3D Map | @chartts/gl/map3d |
Usage
import { createGLChart } from "@chartts/gl"
import { bar3dChartType } from "@chartts/gl/bar3d"
const chart = createGLChart(container, bar3dChartType, data, {
width: 800,
height: 600,
})Part of Chartts
Beautiful charts. Tiny bundle. Every framework.
License
MIT
