Skip to content

Instantly share code, notes, and snippets.

View exactlyallan's full-sized avatar

Allan exactlyallan

View GitHub Profile
@exactlyallan
exactlyallan / cuxfilterVShvPlot.ipynb
Last active June 1, 2023 22:42
Cuxfilter + hvPlot Bokeh.js Bug
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@exactlyallan
exactlyallan / SimpleScatter.html
Last active December 6, 2022 23:27
Simple Chart.js Scatter
<html>
<head>
<meta charset="utf-8">
<title>Simple Scatter</title>
</head>
<body>
<h2>Scatter Example</h2>
<canvas id="scatter" width="600" height="400"></canvas>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.0.1/chart.umd.min.js" integrity="sha512-HyprZz2W40JOnIBIXDYHCFlkSscDdYaNe2FYl34g1DOmE9J+zEPoT4HHHZ2b3+milFBtiKVWb4sorDVVp+iuqA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script>
@exactlyallan
exactlyallan / node-RAPIDS regex ex.js
Created June 29, 2021 22:54
node-RAPIDS regex example
// Using https://github.com/rapidsai/node-rapids/
const cudf = require('@rapidsai/cudf');
const regexps = [
/Cloud|Overcast/,
/Rain|T-Storm|Thunderstorm|Squalls|Drizzle/,
/Snow/,
/Fog/,
/Ice|Hail|Freezing|Sleet/,
@exactlyallan
exactlyallan / cuxfilter-dash.py
Last active July 15, 2021 10:57
RAPIDS cuxfilter double graph dashboard
# Dashboard
# Full example from https://github.com/rapidsai-community/showcase/tree/main/team_contributions/cuxfilter-tutorial
# Data
cux_df = cuxfilter.DataFrame.load_graph((final_df, edges))
# Charts
chart1 = cuxfilter.charts.graph(
edge_source='src', edge_target='dst',
edge_color_palette=['gray', 'black'],

Browser Rendering from Python

Unless otherwise stated, there is not any currently direct connection to any of the tools below and GPU computing. Any GPU results generated via Numba, CuDF, etc. could be fed to the various APIs manually after exfiltrating to CPU memory.

Altair

Altair is based upon Vega-Lite and is especially tilted towards statistical data visualization and exploratory data analysis. Notably, Altair is only supported in notebook environments.