Skip to content

Instantly share code, notes, and snippets.

@texodus
texodus / index.html
Created May 18, 2023 03:23
`perspective-python` tornado client without localhost
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective@2.1.1/dist/cdn/perspective.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer@2.1.1/dist/cdn/perspective-viewer.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid@2.1.1/dist/cdn/perspective-viewer-datagrid.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-d3fc@2.1.1/dist/cdn/perspective-viewer-d3fc.js"></script>
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer/dist/css/themes.css" />
@texodus
texodus / README.md
Last active December 10, 2022 16:16
Perspective / Ray Casting
View README.md
@texodus
texodus / index.html
Created October 5, 2022 16:41
Perspective / t-digest
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
<script src="https://cdn.jsdelivr.net/npm/tdigest@0.1.2/dist/tdigest.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective@latest/dist/cdn/perspective.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer@latest/dist/cdn/perspective-viewer.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid@latest/dist/cdn/perspective-viewer-datagrid.js"></script>
@texodus
texodus / .block
Last active July 14, 2022 06:53
Perspective / Evictions
View .block
license: apache-2.0
@texodus
texodus / index.html
Created March 25, 2022 18:19
Perspective / Master-Detail
View index.html
<!--
Copyright (c) 2017, the Perspective Authors.
This file is part of the Perspective library, distributed under the terms of
the Apache License 2.0. The full license can be found in the LICENSE file.
-->
<!DOCTYPE html>
@texodus
texodus / index.html
Last active February 23, 2022 16:16
Perspective / 500 Columns
View index.html
<!--
Copyright (c) 2017, the Perspective Authors.
This file is part of the Perspective library, distributed under the terms of
the Apache License 2.0. The full license can be found in the LICENSE file.
-->
<!DOCTYPE html>
@texodus
texodus / index.html
Last active May 12, 2022 04:08
Stargazers
View index.html
This file has been truncated, but you can view the full file.
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@finos/perspective-workspace/dist/css/material.css"/>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective-workspace@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-d3fc@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective@latest"></script>
<style>
body{display:flex;flex-direction:column;position:absolute;top:0;left:0;right:0;bottom:0;margin:0;padding:0;overflow:hidden}perspective-workspace{position:absolute;top:0;left:0;right:0;bottom:0}#buttons>*{padding:6px;margin:5px}button{background-color:inherit;cursor:pointer}button:hover{border:1px solid #00f!important}bo
@texodus
texodus / .block
Last active February 2, 2022 00:02
Perspective / COVID
View .block
license: apache-2.0
@texodus
texodus / index.html
Last active January 2, 2022 06:13
Perspective / Custom `datetime` example
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective/dist/cdn/perspective.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer/dist/cdn/perspective-viewer.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid/dist/cdn/perspective-viewer-datagrid.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-d3fc/dist/cdn/perspective-viewer-d3fc.js"></script>
@texodus
texodus / REASME.md
Last active December 24, 2021 13:12
Perspective / 1,000,000 Rows
View REASME.md