Skip to main content

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.

image

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

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

name

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

related and inspo:

development

The repository very much follows the structure of quak.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scattered-0.0.1.tar.gz (127.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scattered-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

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

Hashes for scattered-0.0.1.tar.gz
Algorithm Hash digest
SHA256 346b002b32a237def4c312483abb882edf4a606ff1bc30bd1c0c757f404f3e39
MD5 b175a20a35ce7988759e635cbe05b462
BLAKE2b-256 c91da0ff1866c7923fa9b710675763ea7f8c09f0d31e268ff8dcd6c19b90c97d

See more details on using hashes here.

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

Hashes for scattered-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 64c7d1e614bb92b8bf9d6c357b51a40f3df9435daf7123f74e08f26e4b474f28
MD5 20e2dd2ffc314a6253fbd2ccff14d5d7
BLAKE2b-256 0b48f746b15f8e006c32c9a2c372eb4d152959f38e1e873c1080a67515961a2e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page