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
Copy file name to clipboardexpand all lines: README.md
+31-27
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,15 @@
22
22
</a>
23
23
</p>
24
24
25
-
Lux is a Python library that makes data science easier by automating aspects of the data exploration process. Lux is designed to facilitate faster experimentation with data, even when the user does not have a clear idea of what they are looking for. Visualizations are diplayed via [an interactive Jupyter widget](https://github.com/lux-org/lux-widget) to allow users to quickly browse through large collections of data directly within their Jupyter notebooks.
25
+
Lux is a Python library that makes data science easier by automating aspects of the data exploration process. Lux facilitate faster experimentation with data, even when the user does not have a clear idea of what they are looking for. Visualizations are displayed via [an interactive Jupyter widget](https://github.com/lux-org/lux-widget) to allow users to quickly browse through large collections of data directly within their Jupyter notebooks.
26
26
27
27
Here are some [slides](http://dorisjunglinlee.com/files/Zillow_07_2020_Slide.pdf) from a recent talk on Lux.
28
28
29
29
Try out Lux on your own in a live Jupyter Notebook [here](https://mybinder.org/v2/gh/lux-org/lux-binder/master?urlpath=tree/examples/demo)!
30
30
31
31
# Getting Started
32
32
33
-
To start using Lux, simply add an additional import statement alongside your Pandas import.
33
+
To start using Lux, simply add an extra import statement along with your Pandas import.
34
34
35
35
```python
36
36
import lux
@@ -68,22 +68,22 @@ For example, we might be interested in the attributes `AverageCost` and `SATAver
68
68
alt="Next-step Recommendations Based on User Context"
69
69
style="width:600px" />
70
70
71
-
The left-hand side of the widget shows the current visualization, i.e. the current visualization generated based on what the user is interested in. On the right, Lux generates three sets of recommendations, organized as separate tabs on the widget:
71
+
The left-hand side of the widget shows the current visualization, i.e., the current visualization generated based on what the user is interested in. On the right, Lux generates three sets of recommendations, organized as separate tabs on the widget:
72
72
73
73
-`Enhance` adds an additional attribute to the current selection, essentially highlighting how additional variables affect the relationship of `AverageCost` and `SATAverage`. We see that if we breakdown the relationship by `FundingModel`, there is a clear separation between public colleges (shown in red) and private colleges (in blue), with public colleges being cheaper to attend and with SAT average of lower than 1400.
-`Filter` adds a filter to the current selection, while keeping attributes (on the X and Y axes) fixed. These visualizations shows how the relationship of `AverageCost` and `SATAverage` changes for different subsets of data. For instance, we see that colleges that offer Bachelor's degree as its highest degree offered shows a roughly linear trend between the two variables.
77
+
-`Filter` adds a filter to the current selection, while keeping attributes (on the X and Y axes) fixed. These visualizations show how the relationship of `AverageCost` and `SATAverage` changes for different subsets of data. For instance, we see that colleges that offer Bachelor's degree as its highest degree show a roughly linear trend between the two variables.
-`Generalize` removes an attribute to display a more general trend, showing the distributions of `AverageCost` and `SATAverage` on its own. From the `AverageCost` histogram, we see that there are many colleges with average cost of around $20000 per year, corresponding to the bulge we see in the scatterplot view.
81
+
-`Generalize` removes an attribute to display a more general trend, showing the distributions of `AverageCost` and `SATAverage` on its own. From the `AverageCost` histogram, we see that many colleges with average cost of around $20000 per year, corresponding to the bulge we see in the scatterplot view.
See [this page](https://lux-api.readthedocs.io/en/latest/source/guide/intent.html) more information on additional ways for specifying the intent.
86
+
See [this page](https://lux-api.readthedocs.io/en/latest/source/guide/intent.html)for more information on additional ways for specifying the intent.
87
87
88
88
### Easy programmatic access of exported visualization objects:
89
89
@@ -94,7 +94,7 @@ Now that we have found some interesting visualizations through Lux, we might be
94
94
style="width:600px" />
95
95
96
96
### Quick, on-demand visualizations with the help of automatic encoding:
97
-
We've seen how `Vis`s are automatically generated as part of the recommendations, users can also create their own Vis via the same syntax as specifying the intent. Lux is built on the philosophy that users should always be able to visualize anything they want, without having to think about *how* the visualization should look like. Lux automatically determines the mark and channel mappings based on a set of [best practices](http://hosteddocs.ittoolbox.com/fourshowmeautomaticpresentations.pdf) from [Tableau](https://www.tableau.com). The visualizations are rendered via [Altair](https://github.com/altair-viz/altair/tree/master/altair) into [Vega-Lite](https://github.com/vega/vega-lite) specifications.
97
+
We've seen how `Vis`s are automatically generated as part of the recommendations. Users can also create their own Vis via the same syntax as specifying the intent. Lux is built on the philosophy that users should always be able to visualize anything they want, without having to think about *how* the visualization should look like. Lux automatically determines the mark and channel mappings based on a set of [best practices](http://hosteddocs.ittoolbox.com/fourshowmeautomaticpresentations.pdf) from [Tableau](https://www.tableau.com). The visualizations are rendered via [Altair](https://github.com/altair-viz/altair/tree/master/altair) into [Vega-Lite](https://github.com/vega/vega-lite) specifications.
98
98
99
99
```python
100
100
from lux.vis.Vis import Vis
@@ -125,23 +125,27 @@ For example, we might be interested in looking at how the `AverageCost` distribu
125
125
126
126
To find out more about other features in Lux, see the complete documentation on [ReadTheDocs](https://lux-api.readthedocs.io/).
127
127
128
-
<!-- ## Quick Installation-->
128
+
#Quick Installation
129
129
130
-
<!--Install the Python Lux API through [PyPI](https://pypi.org/project/lux-api/):-->
130
+
To get started, Lux can be installed through [PyPI](https://pypi.org/project/lux-api/). This installs both the lux-api (this repo) and [lux-widget](https://pypi.org/project/lux-widget/) (the Lux Jupyter widget frontend).
131
131
132
-
<!--```bash
133
-
pip install lux-api
134
-
```-->
132
+
```bash
133
+
pip install lux-api
134
+
```
135
135
136
-
<!--Install the Lux Jupyter widget through [npm](https://www.npmjs.com/package/lux-widget): -->
136
+
To install and activate the Jupyter notebook extension:
137
137
138
-
<!--```bash
139
-
npm i lux-widget
140
-
```-->
138
+
```bash
139
+
jupyter nbextension install --py luxwidget
140
+
jupyter nbextension enable --py luxwidget
141
+
```
141
142
142
-
# Installation
143
+
If the installation happens correctly, you should see two `- Validating: OK` after executing the two lines above.
144
+
If you encounter issues with the installation, please refer to [this page](https://lux-api.readthedocs.io/en/latest/source/guide/FAQ.html#troubleshooting-tips) to troubleshoot the installation.
143
145
144
-
To setup Lux manually for development purposes, you should clone the two Github repos for Lux: 1) the core Python [Lux API](https://github.com/lux-org/lux) and 2) the [Jupyter widget frontend](https://github.com/lux-org/lux-widget).
146
+
# Dev Installation
147
+
148
+
To set up Lux manually for development purposes, you should clone the two Github repos for Lux: 1) the core Python [Lux API](https://github.com/lux-org/lux) and 2) the [Jupyter widget frontend](https://github.com/lux-org/lux-widget).
145
149
146
150
To install the Python Lux API:
147
151
@@ -155,17 +159,17 @@ To install the [Lux Jupyter Widget](https://github.com/lux-org/lux-widget):
<!-- See the [installation page](https://lux-api.readthedocs.io/en/latest/source/getting_started/installation.html) for more information. -->
164
-
165
-
<!-- For more detailed examples of how to use Lux, check out this demo [notebook](https://github.com/lux-org/lux/blob/master/examples/demo.ipynb). -->
166
-
167
-
# Dev Support
168
-
Lux is undergoing active development. Please report any bugs, issues, or requests through [Github Issues](https://github.com/lux-org/lux/issues) or post on the [#help](https://lux-project.slack.com/archives/C0174H16CK0) channel in the <ahref="http://lux-project.slack.com/">Lux Slack org</a>.
168
+
Lux is undergoing active development. If you are interested in using Lux, we would love to hear from you. Any feedback, suggestions, and contributions for improving Lux are welcome.
169
169
170
-
If you are interested in participating in a user study on Lux, please contact <ahref="mailto:dorisjunglinlee@gmail.com">Doris Lee</a> for more detail.
170
+
Other additional resources:
171
171
172
+
- Visit [ReadTheDoc](https://lux-api.readthedocs.io/en/latest/) for more detailed documentation.
173
+
- Check out this [notebook tutorial series](https://github.com/lux-org/lux/tree/master/examples/tutorial) on how to use Lux.
174
+
- Join the [Lux Slack channel](http://lux-project.slack.com/) for support and discussion.
175
+
- Report any bugs, issues, or requests through [Github Issues](https://github.com/lux-org/lux/issues).
0 commit comments