[Framework examples →](../)

# Databricks data loader

View live: <https://observablehq.observablehq.cloud/framework-example-loader-databricks/>

This Observable Framework example demonstrates how to write a JavaScript data loader that runs a query on Databricks using the [Databricks SQL Driver for Node.js](https://docs.databricks.com/en/dev-tools/nodejs-sql-driver.html) and generates a CSV file. The data loader lives in [`src/data/trips.csv.js`](./src/data/trips.csv.js) and uses the helper [`src/data/databricks.js`](./src/data/databricks.js).
