Coder Social home page Coder Social logo

xfilter's Introduction

arbitrary backend <-> crossfilter bridge

This library implements enough of the crossfilter API and an asynchronous commit hook so that (in theory) any query engine can be connected to dc.js

Currently the query engine supported is Nanocubes (this library was originally called "nanofilter"): use xf.engine(xfilter.nanocube_queries) to connect with a Nanocubes server (demo).

Another example engine xfilter.fgb_queries() assumes the server takes queries that look like

{
    "filter": {
        "column": [
            "val1",
            "val2"
        ]
    },
    "groupby": [
        "column2"
    ]
}

The intent is that this library can be generalized to support any query engine.

xfilter's People

Contributors

gordonwoodhull avatar laurolins avatar

Stargazers

Sean P. Myrick V19.1.7.2 avatar  avatar  avatar Øystein K avatar Shawn Koschik avatar  avatar hw avatar Zach Sim avatar Deniz avatar Geoff Holden avatar timelyportfolio avatar  avatar Fabio Dias Rollo avatar Ganesh Iyer avatar  avatar

Watchers

timelyportfolio avatar James Cloos avatar  avatar Shawn Koschik avatar Horace Ip avatar  avatar  avatar Sean P. Myrick V19.1.7.2 avatar

xfilter's Issues

time out of joint

Here's a pretty bug:

image

Looks like time is skipping around. More likely, the data is not getting pulled in sequential order.

Docs for implementing other query providers

I am interested in implementing an Apache Arrow and Mapd backed query engine conforming to the interface of xfilter. It looks the interface would be the 3 functions named do_query, unpack_result, and fetch_schema. Is that right? Are there any documentations help me to understand the expected input and output of these functions? Thanks.

PS: I am aware that the issue tab is not for communication like this. But did not find any other ways. Please bear with me on it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.