Git Product home page Git Product logo

sqhshare_graphs's People

Contributors

gaorlov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

uwescience

sqhshare_graphs's Issues

feature request: tooltip to show entire tuple, not just x-axis/y-axis

This is pretty much the opposite of another request, so maybe we make a flag for it?

The idea is this: when we plot a graph (x,y), we currently wrap the SQL with SELECT x,y FROM (...). This makes the JSON returned as efficient as possible. This request from @billhowe is the opposite:

If some flag is set, make the "title" text of the point ("tooltip"?) contain all the non-plotted columns of the tuple. So given a relation

x y a b
5 3 "a" "b"

When moused-over, the graph would highlight x=5 and y=3 as it currently does, and the title text of the point (that should pop up near the mouse cursor) would say:

x : 5
y : 3
a : "a"
b : "b"

or something like that.

Slow initial load -- use search API?

The initial load of the main "DataSets" page is a little poky and returns all datasets. Maybe switch to the search API and return just the user's owned datasets by default, then allow simple keyword search.

default SQL error

Right now, if I view the dataset "[[email protected]].[NSAF avg SpC with avg NSAF]" in SQLShare, I see the data. But if I click the dataset in SQLShare-Graphs, it appears to take the sql_code from Emma's dataset and run that---which leads to a "Select permission denied" error.

This code pattern generally will not work -- it is VERY common for someone to make a view public but not the underlying data. In fact, the 'table_blah' table created for every view 'blah' is usually private.

So when I click a dataset [[email protected]].[dataset], the derived SQL should be either "SELECT * FROM [[email protected]].[dataset]" or "SELECT TOP 100 * FROM [[email protected]].[dataset]". This probably fixes the "weird code" you mentioned above.

Selecting display on hover

I suppose this would be a feature request.

On a simple X-Y plot, it would be great if you could select what is displayed.

Here is an example
direct link to SQLShare graph: http://goo.gl/2Iy2iu
There are three columns, the first two I want to plot x-y and have column 3 display when hovering over point.

image

Graceful fail for large queries?

I had a "full dataset" query (Tokyo_3_merged.csv) return the attached error message. I suspect it was just because there are way too many records -- bad choice on my part, but we may want to think about how to fail here.

screen shot 2013-12-01 at 1 01 39 pm

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.