I changed the chart type selector to be radio buttons (Bar, Line, Scatter)
which breaks up the UI. I also added a "Charting options" <h3> title and
tweaked the display of the "Swap X and Y" button.
The design is now good enough that I'm happy to announce it. Closes#3
I used a variant on the pattern described here to run "npm run build" when
creating the wheel:
http://cra.mr/2014/12/19/distributing-js-with-python
To generate just the static assets (in datasette_vega/static) run this:
python3 setup.py build_static
To build the package (and automatically run the above) do this:
python3 setup.py bdist_wheel
* Renamed App to DatasetteVega
* Component uses fetch() to retrieve columns on start
* DatasetteVega.test.js tests now pass
* Column select boxes now display next to each other
* Styling is slightly improved