You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vega-lite api is a good example of apis for creating vega-lite json specs. Gos is similar to vega-lite api, but for creating gosling json specs. I think it's more convenient for me to create a dataviz app with js apis rather than python apis because I use React to build the frontend for such kind of apps.
The text was updated successfully, but these errors were encountered:
Thank you for taking interest in gos. We are not opposed to developing a JS API for creating gosling specs (similar to vega-lite-api), but we believe the Python API 1.) enables a new set of users to author Gosling specs and 2.) integrates within computational notebooks environments (e.g. Jupyter, Google Colab) to allow interactive exploratory analysis.
Many biologists and computational biologists aren't familiar with data-viz "apps" or Javascript, so we want to enable the the use of Gosling in many contexts. If you are using Gosling within a React application, many of the features gos offers are available. You may use language features like variables, for-loops, functions, conditionals, etc to build a spec that can be passed to the GoslingComponent directly.
Additionally, since gos is written in Python there are features that the library offers that could not be implemented in a Javascript alternative. The core feature is the GoslingDataServer which allows users to transparently load both in-memory (pandas datafames) or local data in a computational notebook environment. A challenging aspect of Gosling is that a server must be configured to host HTTP-accessible data, and the data-server component of gos removes that complexity entirely.
vega-lite api is a good example of apis for creating vega-lite json specs. Gos is similar to vega-lite api, but for creating gosling json specs. I think it's more convenient for me to create a dataviz app with js apis rather than python apis because I use React to build the frontend for such kind of apps.
The text was updated successfully, but these errors were encountered: