A demo of how to scale Vega to millions of records. Try it out at https://vega.github.io/scalable-vega/.
The way we implemented this demo is with a custom transform that accepts SQL queries and requests data from a database with the Vega Transform to Query OmniSciDB. You could implement this demo with any other database backend as long as it has an API you can call from your browser. In our demo, we constructed the queries with Vega signals so we can create dynamic queries.
We are automatically deploying with GitHub Actions to GitHub Pages whenever there is a commit on master.