0.0.6 • Published 5 months ago

scattered v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

scattered (scatter3D)

composable library for 3D scatterplots.

!CAUTION This project is as Work-In-Progress as it gets.

3D scatterplots probably suck, but they're much more fun than regular scatterplots!

the basic idea is:

  • input: an arrow/parquet (just with 'x', 'y', 'z' columns)
  • zero dependencies (just vite, typescript for dev)
  • webgpu rendering
  • minimal API for displaying 3D scatterplots in canvas
  • also a widget version, can consume numpy and pandas

usage

import * as sctrd from "scattered";

const c = sctrd.display("https://raw.githubusercontent.com/dvdkouril/sample-3d-scatterplot-data/main/penguins.arrow");

let appEl = document.querySelector('#app');
if (c) {
    appEl.appendChild(c);
}

goals

  1. demonstrate composability principles
  2. learn a bit of webgpu

name

scatter plot -> scatter 3D, scatter3rd -> scatter3d/scattered

related and inspo:

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

5 months ago

0.0.0

5 months ago