datasette-vega
datasette-vega copied to clipboard
Datasette plugin for visualizing data using Vega
## Fixes ### [#41](https://github.com/simonw/datasette-vega/issues/41): restores hook for `database` view - plugin only renders when `.export-links` is present - Not sure why it was restricted to `table` view only (04b904add3ec1dc8b4cadf531204d38d209085fa), it's...
We can open a chart, but not close it, as far as I can tell. Would be nice to be able to 'x' it to close, without having to know...
```diff diff --git a/datasette_vega/__init__.py b/datasette_vega/__init__.py index ac80b52..ba69145 100644 --- a/datasette_vega/__init__.py +++ b/datasette_vega/__init__.py @@ -17,12 +17,12 @@ def cached_filepaths_for_extension(extension): @hookimpl -def extra_css_urls(view_name): - if view_name == "table": +def extra_css_urls(columns): + if...
[This one](https://fivethirtyeight.datasettes.com/fivethirtyeight?sql=select+date%2C+count%28*%29+from+%5Bpresidential-campaign-trail%2Ftrump%5D+group+by+date#g.mark=bar&g.x_column=date&g.x_type=temporal&g.y_column=count(*)&g.y_type=quantitative) is 266x256 only. Whereas [this one](https://fivethirtyeight.datasettes.com/fivethirtyeight?sql=select+date%2C+count%28*%29+from+%5Bpresidential-campaign-trail%2Ftrump%5D+group+by+date#g.mark=bar&g.x_column=date&g.x_type=ordinal&g.y_column=count(*)&g.y_type=quantitative) is 1233x304, pretty, but useless as dates are not sorted. Is there a way to force the size ?
When I got to https://datasette-vega-latest.datasette.io/ and click on the button with the pre-set URL in the text entry form, the show charting button that appears doesn't do anything (apart from...
## Motivation - Several features (#45, #39, #38, #26, #25, #22, #19) could be addressed without building additional UI elements if we gave users the ability to supply their own...
many numbers in real life follow power laws:  this necessitates display on a log scale for any useful visualization at all. interested? I'd be interested to contribute such a...
## Changes - Match language used by git-history project: https://github.com/simonw/git-history#development - Use directions provided in #43
When the page first loads the plugin should come up with 1-3 chart suggestions with human descriptions and display those as options. Clicking an option will open the graphing tool...
Closes #17