I hereby claim:
- I am willium on github.
- I am willium (https://keybase.io/willium) on keybase.
- I have a public key ASDc-DfC9a3McM4pn02gdFslk-CxpGQWbFd-T-P0iQ7HLQo
To claim this, I am signing this object:
declare module "@uwdata/mosaic-core" { | |
import type { Query } from "@uwdata/mosaic-sql"; | |
import { | |
type AsyncDuckDB, | |
type AsyncDuckDBConnection, | |
} from "@duckdb/duckdb-wasm"; | |
// Arrow Utilities | |
export declare function isArrowTable( | |
values: unknown, |
{ | |
"countTitle": "COUNT", | |
"numberFormat": "s", | |
"title": { | |
"anchor": "middle", | |
"align": "left", | |
"font": "Inter", | |
"fontSize": 18, | |
"fontWeight": 600, | |
"offset": 20 |
license: bsd-3-clause |
def memoize(fn): | |
cache = dict() | |
def closure(*args): | |
if args not in cache: | |
cache[args] = fn(*args) | |
return cache[args] | |
return closure |
{ | |
"width": 400, | |
"height": 200, | |
"padding": {"top": 10, "left": 30, "bottom": 30, "right": 10}, | |
"data": [ | |
{ | |
"name": "table", | |
"values": [ | |
{"x": 1, "y": 28}, {"x": 2, "y": 55}, | |
{"x": 3, "y": 43}, {"x": 4, "y": 91}, |
I hereby claim:
To claim this, I am signing this object:
{ | |
"description": "A simple bar chart with embedded data.", | |
"layers": [ | |
{ | |
"name": "myBar", | |
"mark": "bar", | |
"data": { | |
"values": [ | |
{"a": "A","b": 28}, | |
{"a": "B","b": 55}, |
{ | |
"width": 1, | |
"height": 1, | |
"padding": "auto", | |
"data": [ | |
{ | |
"name": "source", | |
"url": "data/stocks.csv", | |
"format": { | |
"type": "csv", |
* { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
html { | |
width: 200px; | |
height: 600px; | |
margin: 0; | |
padding: 0; |