Comments (10)
Here is another version that separates the Fields/Encoding from the actual visualization view:
Pros:
- Full flexibility of JupyterLab to layout the different components.
- Side panel used effectively
- Can easily size visualization panel separately from the Fields/Encodings.
Cons:
- The Fields/Encoding UI is probably wider than most side panel content. We can put a minimal size on the content to make sure the side panel is wide enough though.
- More disjoint.
from jupyterlab_voyager.
One potential big usability problem with the disjointed window version is that if users open multiple sets of Voyager instances and drag tabs around, it will be no longer clear which data/encoding panes maps to which plots.
from jupyterlab_voyager.
Here is a version that:
- Removes the header (Bookmark, Undo, Redo can be moved to a menu)
- Removes the Data component (we will pass it data)
- Only shows the specified view.
Pros:
- More minimal than the full thing, takes up less space in the dock panel.
- More focused UI.
Cons:
- Still not a great aspect ratio for the dock panel - you still can't fit a notebook, file browser and Voyager easily all together.
from jupyterlab_voyager.
I don't have much to add but just wanted to say that, done well, I think this could be a killer feature and I'm excited to see where it goes!
from jupyterlab_voyager.
A nice UX might be if there was a JupyterLab Voyager widget which displayed the chart in the JLab output but when selected linked to a Voyager side panel which would allow the user to change the Fields/Encoding to explore different visualisations of the data.
from jupyterlab_voyager.
from jupyterlab_voyager.
I was looking around the JupyterLab UI for other existing patterns that might be similar to this and found the "Inspector" that can be opened from the Notebook:
The Voyager Fields/Encoding UI maybe could be thought of as an inspector for Vega Lite schemas. So instead of a side panel, it would just be a different window (also made with Sketch from @ellisonbg's screenshots):
To parallel something like the existing Inspect window, you could right click on any existing Vega Lite preview and select "Modify" or something and it would bring up this Voyager GUI.
If you had a file in the sidebar, maybe it would then open two panels, one for the Vega Lite visualization (like an unsaved buffer) and then the field editor as well.
from jupyterlab_voyager.
@ellisonbg Did you remove the suggested visualizations in order to reduce visual clutter?
from jupyterlab_voyager.
Instead of having the fields/encodings on left, we could also have them above in a toolbar. This one make the UI more similar to the Datagrid UI to change the delimiter for the file. Imagine that the toolbar at the top has all of the encoding options:
Pros:
- Less horizontal space used
- Simpler UI components (dropdowns instead of drag and drop)
- Similar to existing Datagrid UI
Cons:
- Lose listing of all fields
- Harder to group encodings
- Header row would likely have to wrap
from jupyterlab_voyager.
I think if the encoding pane/window simply reflected the data for the currently selected Voyager plot/widget and displayed a message "No Voyager widget selected." if none currently had focus it would be reasonably clear for the user
from jupyterlab_voyager.
Related Issues (20)
- Changes to IDocumentWidget in JupyterLab 0.33 break voyager extension HOT 1
- Extension is not working for jupyter lab 0.33.11 HOT 12
- Build Error: Cannot find module 'jupyterlab_voyager/package.json'
- Add support for semi-colon separated text files? HOT 1
- MyBinder build fails HOT 1
- Cannot install the Jupyter Lab extension HOT 11
- Can not install HOT 1
- Unable to load csv file, getting error: cannot read property of 'var' undefined HOT 1
- Fix mybinder from having conflicting dependencies HOT 2
- Cannot open a CSV from "Open with ..." menu HOT 4
- Travis Build Failing HOT 1
- Update to Jupyter
- Update to JupyterLab 1.0 HOT 3
- Launch from pandas dataframe: website says possible, but can't find? HOT 2
- KeyError: '@jupyterlab/apputils' when installing voyager? HOT 12
- Support jupyterlab 1.1.3 HOT 5
- Skip 1.1.3 and support jupyterlab 1.1.4👍 HOT 9
- Todo: Save Voyager state in widget, so that when window is reloaded it will preserve what you have selected.
- Current version of JupyterLab not supported. HOT 8
- sass-loader compilation error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab_voyager.