3D scatterplots are useless, but fun
Project description
scattered: a composable library for 3D scatterplots
3D scatterplots probably suck, but they're much more fun than regular scatterplots!
[!CAUTION] This project is as Work-In-Progress as it gets.
The basic idea is:
- arrow/dataframe as input (with 'x', 'y', 'z' columns)
- minimal dependencies & small bundle size
- webgpu rendering
- javascript library (npm), jupyter widget (pypi), web page (like quak)
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);
}
about
This project is developed by David Kouřil (web, bsky).
goals
- demonstrate composability principles
- learn a bit of webgpu
- just following https://webgpufundamentals.org/ for now
name
scatter plot -> scatter 3D, scatter3rd -> scatter3d/scattered
related and inspo:
- https://matplotlib.org/stable/gallery/mplot3d/scatter3d.html
- https://plotly.com/python/3d-scatter-plots/
- https://jupyter-scatter.dev (i don't think there's 3D option)
- https://abdenlab.org/eigen-tour/ (repo: https://github.com/abdenlab/eigen-tour)
- https://projector.tensorflow.org
development
The repository very much follows the structure of quak.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scattered-0.0.1.tar.gz.
File metadata
- Download URL: scattered-0.0.1.tar.gz
- Upload date:
- Size: 127.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
346b002b32a237def4c312483abb882edf4a606ff1bc30bd1c0c757f404f3e39
|
|
| MD5 |
b175a20a35ce7988759e635cbe05b462
|
|
| BLAKE2b-256 |
c91da0ff1866c7923fa9b710675763ea7f8c09f0d31e268ff8dcd6c19b90c97d
|
File details
Details for the file scattered-0.0.1-py3-none-any.whl.
File metadata
- Download URL: scattered-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64c7d1e614bb92b8bf9d6c357b51a40f3df9435daf7123f74e08f26e4b474f28
|
|
| MD5 |
20e2dd2ffc314a6253fbd2ccff14d5d7
|
|
| BLAKE2b-256 |
0b48f746b15f8e006c32c9a2c372eb4d152959f38e1e873c1080a67515961a2e
|