This is a lightweight wrapper around deepscatter created by Benjamin Schmidt (@bmschmidt).
Of note is that there is a companion library in python featherplot.
If you look on GitHub, there is an example notebook that demonstrates a pipeline for converting a Pandas DataFrame to the feather format using quadfeather as well as how to add sidecars (extra data).
As for this library, it has three main purposes:
-
assist with debugging the
deepscatterlibrary. (The example notebooks even found one with usingcsvdata.). -
assist with understanding the
plot.plotAPI({...args})which are inspired by vega-lite. -
provide some utility functionality for interactivity with a
deepscatterplot e.g. axes selectors, color selectors, number of point sliders, etc.
To build your library:
npm run packageTo create a production version of your showcase app:
npm run buildYou can preview the production build with npm run preview.
To publish your library to npm:
npm publishAdd this to package.json:
"scripts": {
"deploy": "NODE_ENV=production; npm run build && npx gh-pages -d build -t true"
}then:
$ npm run deploythen add this .nojekyll file to gh-pages:
{
"scripts": {
"dev": "vite dev",
"build": "vite build",
"deploy": "touch build/.nojekyll && gh-pages -d build -t true"
}
}