enso-org / dataframes

A library for working with tabular data in Luna.
https://luna-lang.org
MIT License
6 stars 5 forks source link

Dataframes visualizations with Plotly #150

Open sylwiabr opened 5 years ago

sylwiabr commented 5 years ago

@lgawlik commented on Thu Jul 19 2018

  1. Single plot using Ploty from a dataframe. Dataframe structure: 6 columns:

    • position.x
    • position.y
    • position.z
    • color.r
    • color.g
    • color.b
    • color.a
    • size
  2. for now we are hardcoding layout like plot type, background color, axis, legend in JS script inside visualization

  3. if there is a missing column from (position.x,position.y,position.z) I will assume that position in this direction is 0

  4. default color will be orange


@wdanilo commented on Thu Jul 19 2018

I'd change the column names to reflect whats inside. Basically when new dataframes arrive we will switch from 3 columns of x, y and z to a single containing a vector of 3 numbers in order to have better memory locality and preformance. Then such field would be just named position, thus I would already start naming fields in similar fashion. Lets use position.x, position.y, position.z, color.r, color.g, color.b.


@wdanilo commented on Thu Jul 19 2018

Moreover, can we add some more data, like point size (attrib name scale) or line width (name lineWidth) ? They would be very useful for visualization of more complex relations.


@sylwiabr commented on Thu Jul 19 2018

I think scale should be a range for each axis not a point size


@sylwiabr commented on Wed Jul 25 2018

label will be added as an extra column


@piotrMocz commented on Tue Sep 25 2018

How do I test it? @sylwiabr


@piotrMocz commented on Tue Sep 25 2018

This task is no longer valid due to a change in requirements.


@piotrMocz commented on Tue Sep 25 2018

Please disregard the previous message: it's still on 😂 @sylwiabr will continue working on this task, as time will allow.