![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
falcon-vis
Advanced tools
[![npm version](https://img.shields.io/npm/v/falcon-vis.svg)](https://www.npmjs.com/package/falcon-vis) ![Tests](https://github.com/cmudig/falcon/workflows/Node.js%20CI/badge.svg) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-f
🚧 Work in Progress
npm install falcon-vis
A simple javascript API to link visualizations at scale. FalconVis is a successor to vega/falcon
.
Finally, you can cross-filter all the data you've been hoarding without the large delays or slowdowns. Interactions are smooth, fast, and responsive.
Live Browser Examples
Check out real examples in the examples/
directory. If you want a quick sneak-peak, keep reading.
TODO make this section more clear.
Create a the falcon
instance and link it up to some data and some views.
import { FalconVis, JsonDB } from "falcon-vis";
/**
* 1. create the falcon instance with a database
*/
const plainOldJavascriptObject = await fetch("flights-10k.json").then((d) =>
d.json()
);
const db = new JsonDB(plainOldJavascriptObject);
falcon = new FalconVis(db);
/**
* 2. create the views (you interact with these directly to cross-filter)
*/
// 0D is total count (num rows)
const countView = await falcon.view0D();
countView.onChange((updatedTotalCount) => {
// called every time the count changes
console.log(updatedTotalCount); // you can do whatever in here
});
// 1D is a histogram
const distanceView = await falcon.view1D({
type: "continuous",
name: "Distance",
resolution: 400,
bins: 5,
});
distanceView.onChange((updatedHistogram) => {
console.log(updatedHistogram);
});
/**
* 3. initialize falcon by linking everything together
*/
await falcon.link();
The view you that you want to filter is the active view. Once you do filter an active view, the onChange
callbacks will be called with the updated counts for all the other linked views.
/**
* 1. make the view you are interacting with active
* this computes the fast falcon index in the background
*/
await distanceView.activate();
/**
* 2. select/filter a range between 0 and 100
*/
await distanceView.select([0, 100]);
TODO fill in and add examples
# index.view0D()
# index.view1D()
# index.link()
# index.entries()
# view.activate()
# view.select()
# view.onChange()
# JsonDB
# ArrowDB
# DuckDB
# HttpDB
Check out the CONTRIBUTING.md
document to see how to run the development server.
FAQs
**`Github Pages`**
The npm package falcon-vis receives a total of 4 weekly downloads. As such, falcon-vis popularity was classified as not popular.
We found that falcon-vis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.