GithubHelp home page GithubHelp logo

plot-a-graph-tool's People

Contributors

zarino avatar

Watchers

 avatar  avatar  avatar

plot-a-graph-tool's Issues

I'd like to be able to choose a column to add to the label for each data point

e.g. for the Twitter followers tool, I might plot followers against following, but the label for each point just shows me the two numbers and I'd have to go back to the table to figure out who that point represents.

It would be nice to be able to say, attach the screen name to the label too, so I can quickly look at, for instance, who unusual points represent.

Automatic (?) GROUP BY on string X-Axes

I plotted some string categories against their numeric values (twitter screen_name of a bunch of tweets, against the retweet count for each tweet).

screen shot 2013-07-02 at 14 52 33

I ended up with the same string appearing multiple times on the X-Axis. This makes sense, technically, but wasn't what I expected. They should be grouped together.

The question is, if we GROUP BY in the SQL command, what aggregate function do we use for the Y-Axis values? SUM() or AVG() or something else? Do we let the user decide?

Multiple series based on a third categorical variable

I have a dataset of food product prices, over time. I want to plot a column or line graph with the date along the bottom, the price up the side, and different coloured columns/lines for the six different food types.

No "run" button

I didn't see a graph instantly (as I have 100,000 rows).

I therefore looked around for a button to "go" or "run".

I was particularly preturbed that it was getting data for two graphs I really didn't want, when it takes 30 seconds to get each set of data. (Not sure if it tries to debounce the requests - if it does, I was much slower than it)

ScatterChart requires x-axis values to be numeric

At the moment, the tool allows users to select non-numeric columns when making a scatter graph. If they do so, all they get is a horrible red Google Charts error box.

Switching the chart type to ScatterChart should also disable any text/mixed columns in the x-axis select box.

Ascending / Descending checkboxes don't work consistently

When one of the checkboxes is selected, and then you check the other one, the chart doesn't update as you'd expect. Instead, it shows the old sort order.

This is because these two events are competing, and sometimes the second one wins:

$(document).on('change', '.mutually-exclusive :checkbox', function(){
  if(this.checked){ $(this).siblings(':checked').attr('checked', false) }
})
...
$('section select, section :checkbox').on('change', refreshChart)

"column cannot be of type string" error

This isn't a particular non-programmer friendly error message. Maybe referring to text rather than strings is more helpful.

Furthermore, why does the dropdown allow me to select columns which give rise to such an error? (There might be very good implementation reasons for this that I'm not aware of.)

"Not enough columns given to draw the requested chart"

When you select the same column in both the X-axis and Y-axis dropdowns, Google Charts gives you an ugly red error:

Not enough columns given to draw the requested chart.

This is because Google Charts is only getting passed one column of data. Why? Because our underlying SQL query looks like:

SELECT "some_column", "some_column" FROM "some_table";

And SQL collapses the two columns with the same name into one result column.

We either need to SELECT … AS … and give the two columns different names, or we need to validate user selections before sending them to the database, and disallow selection of the same column twice.

Sidebar form controls are not obvious enough

Would it be possible to overlay controls on top of (or around the sides of) the graph itself? So you'd click the x-axis label to change the column used on the x-axis, etc.

You could even make it more tableauey by turning the x- and y-axes into drag and drop zones, with a list of columns down the side that users could drag over to the right axes.

Heck you could even turn the whole thing into one big drop target, with a list of graph types down another side, which the user would drop on the graph to change the type.

Don't let me choose the graph type

I partly want a magical "show me the right kind of graph" mode, where you just tell it the columns and it automatically picks the right graph type based on the column datatypes etc.

A bit like the Summarise this data tool.

Is that possible?

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.