GithubHelp home page GithubHelp logo

Modifiable vega-lite? about datasette-vega HOT 2 OPEN

simonw avatar simonw commented on June 9, 2024 1
Modifiable vega-lite?

from datasette-vega.

Comments (2)

elgiad007 avatar elgiad007 commented on June 9, 2024

Also doesn't work if you're using a local database that isn't exposed to the outside world (at least as far as I can tell). I would also love to see the ability to modify the format/configuration of the graph either through Vega editor or by passing values through metadata.json (even better, I think).

from datasette-vega.

mroswell avatar mroswell commented on June 9, 2024

This is a bug that could be fixed by replacing:
"url": "/covid/ny_times_us_counties.json?_shape=array&_shape=array",
with
"url": "https://covid-19.datasettes.com/covid/ny_times_us_counties.json?_shape=array&_shape=array",

on the https://vega.github.io/editor/#/ link at:
https://covid-19.datasettes.com/covid/ny_times_us_counties#g.mark=bar&g.x_column=state&g.x_type=ordinal&g.y_column=county&g.y_type=ordinal

But I'm having trouble figuring out where that would be done. Maybe it's somewhere in the vega-embed project... needing to inject the domain name in there. Can anyone find where the fix is for this?

from datasette-vega.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.