Top Related Projects
The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
Apache Superset is a Data Visualization and Data Exploration Platform
Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
Meltano: the declarative code-first data integration engine that powers your wildest data and ML-powered product ideas. Say goodbye to writing, maintaining, and scaling your own API integrations.
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
Quick Overview
Lightdash is an open-source business intelligence (BI) platform designed to work seamlessly with dbt (data build tool). It provides a user-friendly interface for exploring and visualizing data, creating dashboards, and sharing insights across organizations. Lightdash aims to bridge the gap between data teams and business users by leveraging the power of dbt and making data analysis more accessible.
Pros
- Seamless integration with dbt, allowing for easy adoption by teams already using dbt
- User-friendly interface for creating charts and dashboards without requiring SQL knowledge
- Version control and collaboration features for data exploration and dashboard creation
- Self-hosted option for enhanced data security and control
Cons
- Relatively new project, which may lead to potential stability issues or lack of advanced features
- Limited integrations compared to more established BI tools
- Requires dbt knowledge and setup, which may be a barrier for some organizations
- Documentation and community support may not be as extensive as more mature BI platforms
Getting Started
To get started with Lightdash, follow these steps:
- Ensure you have a dbt project set up and running.
- Install Lightdash using Docker:
docker run -d --name lightdash -p 8080:8080 \
-e LIGHTDASH_SECRET=your_secret_key \
-e LIGHTDASH_INSTALL_TYPE=DOCKER \
-e PGHOST=your_postgres_host \
-e PGPORT=5432 \
-e PGUSER=your_postgres_user \
-e PGPASSWORD=your_postgres_password \
-e PGDATABASE=lightdash \
lightdash/lightdash
- Access Lightdash at
http://localhost:8080
and follow the setup wizard. - Connect your dbt project by providing the necessary credentials and project path.
- Start exploring your data and creating dashboards!
For more detailed instructions and configuration options, refer to the official Lightdash documentation.
Competitor Comparisons
The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
Pros of Metabase
- More mature and feature-rich, with a larger community and ecosystem
- Supports a wider range of databases and data sources
- Offers advanced visualization options and customizable dashboards
Cons of Metabase
- Steeper learning curve for non-technical users
- Can be resource-intensive for large datasets or complex queries
- Less focus on dbt integration compared to Lightdash
Code Comparison
Metabase (SQL query):
SELECT product_name, SUM(sales_amount) AS total_sales
FROM sales
GROUP BY product_name
ORDER BY total_sales DESC
LIMIT 10
Lightdash (YAML metric definition):
metrics:
- name: total_sales
description: Total sales amount
type: sum
sql: ${sales_amount}
table: sales
While Metabase uses traditional SQL queries for data analysis, Lightdash leverages dbt-style YAML configurations for metric definitions, making it more aligned with modern data modeling practices. Metabase's approach offers more flexibility for complex queries, while Lightdash's method promotes consistency and reusability across the organization.
Apache Superset is a Data Visualization and Data Exploration Platform
Pros of Superset
- More mature and feature-rich project with a larger community and ecosystem
- Supports a wider range of data sources and visualization types
- Offers advanced features like SQL Lab for interactive querying
Cons of Superset
- Steeper learning curve and more complex setup process
- Heavier resource requirements for deployment and maintenance
- Less focus on dbt integration compared to Lightdash
Code Comparison
Superset (Python):
from superset import db
from superset.models.slice import Slice
slice = Slice(
slice_name="My Chart",
datasource_type="table",
datasource_id=1,
viz_type="bar",
params="{}"
)
db.session.add(slice)
db.session.commit()
Lightdash (TypeScript):
import { CreateChartVersion } from '@lightdash/common';
const newChart: CreateChartVersion = {
name: 'My Chart',
tableName: 'my_table',
chartType: 'bar',
chartConfig: {}
};
await lightdashClient.charts.create(projectUuid, newChart);
Both Superset and Lightdash are open-source business intelligence tools, but they cater to different user needs. Superset offers a more comprehensive set of features and flexibility, while Lightdash focuses on simplicity and tight integration with dbt. The code examples demonstrate the different approaches to creating charts in each platform, with Superset using a Python ORM and Lightdash utilizing a TypeScript client.
Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
Pros of Redash
- More mature project with a larger community and extensive documentation
- Supports a wider range of data sources and visualization types
- Offers both self-hosted and cloud-hosted options
Cons of Redash
- Steeper learning curve for non-technical users
- Less focus on dbt integration and metrics layer
- More complex setup and configuration process
Code Comparison
Redash query example:
SELECT date_trunc('day', created_at) AS day,
count(*) AS count
FROM events
WHERE created_at > current_date - interval '7 days'
GROUP BY 1 ORDER BY 1
Lightdash query example:
SELECT
DATE_TRUNC('day', created_at) AS day,
COUNT(*) AS count
FROM ${ref('events')}
WHERE created_at > DATEADD(day, -7, CURRENT_DATE())
GROUP BY 1
ORDER BY 1
Both Redash and Lightdash are open-source business intelligence tools, but they cater to slightly different audiences. Redash is more established and versatile, supporting various data sources and visualization types. It's suitable for organizations with diverse data needs and technical expertise.
Lightdash, on the other hand, is more focused on dbt users and provides a simpler, more intuitive interface for non-technical users. It emphasizes the metrics layer and seamless integration with dbt projects, making it an excellent choice for teams already using dbt or looking for a more streamlined BI solution.
The code examples show similar SQL syntax, with Lightdash using dbt-specific features like the ${ref()}
function for referencing models.
Meltano: the declarative code-first data integration engine that powers your wildest data and ML-powered product ideas. Say goodbye to writing, maintaining, and scaling your own API integrations.
Pros of Meltano
- More comprehensive data lifecycle management, including extraction, loading, and transformation
- Supports a wider range of data sources and destinations
- Offers plugin-based architecture for extensibility and customization
Cons of Meltano
- Steeper learning curve due to its broader scope and functionality
- May be overkill for teams primarily focused on data visualization and exploration
- Requires more setup and configuration compared to Lightdash
Code Comparison
Meltano (YAML configuration):
plugins:
extractors:
- name: tap-github
variant: meltanolabs
loaders:
- name: target-snowflake
variant: meltanolabs
Lightdash (SQL query):
SELECT
order_id,
customer_name,
SUM(order_total) AS total_revenue
FROM orders
GROUP BY 1, 2
While Meltano focuses on configuring data pipelines and integrations, Lightdash emphasizes writing SQL queries for data analysis and visualization. Meltano's configuration is typically done in YAML files, whereas Lightdash primarily uses SQL for defining metrics and dimensions.
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
Pros of Airflow
- Mature and widely adopted workflow orchestration tool with extensive ecosystem
- Supports a wide range of integrations and operators for various data sources and services
- Highly scalable and can handle complex, large-scale data pipelines
Cons of Airflow
- Steeper learning curve due to its complexity and extensive features
- Requires more setup and infrastructure management compared to Lightdash
- Can be overkill for simpler analytics and reporting use cases
Code Comparison
Airflow DAG definition:
from airflow import DAG
from airflow.operators.python_operator import PythonOperator
from datetime import datetime
dag = DAG('example_dag', start_date=datetime(2023, 1, 1))
def task_function():
print("Executing task")
task = PythonOperator(
task_id='example_task',
python_callable=task_function,
dag=dag
)
Lightdash query definition:
- name: example_query
description: An example query
sql: |
SELECT *
FROM my_table
WHERE date >= {{ date_from }}
dimensions:
- name: dimension1
sql: ${my_table.dimension1}
metrics:
- name: metric1
sql: SUM(${my_table.value})
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
The open-source Looker alternative.
Website ⢠Watch demo ⢠Docs ⢠Join Slack Community
Enable everybody in your company to answer their own questions using data
connect your dbt project --> add metrics into dbt --> share insights with your team
If you're a fan, star the repo âï¸ (we plant a tree for every GitHub star we get ð±).
Come join the team, we're hiring.
Features:
- ð Familiar interface for your users to self-serve using pre-defined metrics
- ð©âð» Declare dimensions and metrics in yaml alongside your dbt project
- ð¤ Automatically creates dimensions from your dbt models
- ð dbt descriptions and metadata synced for your users
- ð Easily access to underlying records of charts as well as ability to data drill-down
- ð§® Table calculations make it easy to dig into your data, on the fly
- ðµï¸ââï¸ Lineage lets you see the upstream and downstream dependencies of a model
- ð Comprehensive and intuitive data visualisation library for your metrics
- ð·ââï¸ Save charts & build dashboards to share your insights with your team
- ð» Powerful developer experience including Preview BI Environments and automated content validation via CI/CD
- ð Explore version history of all your charts and roll-back at any point
- ð Easily share your work via URL or schedule deliveries via Slack or Email
Something missing? Check out our open issues to see if what you're looking for already exists (and give it a ð). Otherwise, we'd love it if you'd open a new issue with your request ð
Demo
Play with our demo app!
Quick start
Start with Lightdash Cloud
You can avoid the hassle of hosting and configuring Lightdash yourself by signing up for a free trial of Lightdash Cloud. More details on pricing available.
1-click deploy
Deploy Lightdash with 1-click on Render for free.
Run locally
Take advantage of our installation script to easily run Lightdash locally.
git clone https://github.com/lightdash/lightdash
cd lightdash
./scripts/install.sh
Deploy to production
Follow our kubernetes guide to deploy Lightdash to production using our community helm charts.
Getting started
Step 1 - â¡ï¸ Self-host Lightdash (optional)
Step 2 - ð Connect a project
Step 3 - ð©âð» Create your first metric
Community Support
ð£ If you want something a bit more, then head on over to our Slack Community where youâll be able to chat directly with all of us at Lightdash and all the other amazing members of our community. Weâre happy to talk about anything from feature requests, implementation details or dbt quirks to memes and SQL jokes!
You can also keep up to date with Lightdash by following us here:
About Lightdash
ð Keep all of your business logic in one place.
We let you define your metrics and dimensions directly in your dbt project, keeping all of your business logic in one place and increasing the context around your analytics.
No more deciding which of the four different values for total revenue is the right one (you can thank us later ð).
ð¤ Build trust in your data.
We want everyone at your company to feel like they can trust the data. So, why not show them that they can?
We bring the context you want around data quality into your BI tool so people know that they can trust the data.
ð§± Give users meaningful building blocks to answer their own data questions.
With Lightdash, you can leave the SQL to the experts. We give your data team the tools they need to build metrics and dimensions that everyone else can use.
So, anybody in the business can combine, segment, and filter these metrics and dimensions to answer their own questions.
ð Open source, now and forever
Lightdash is built with our community, for our community.
We think that a BI tool should be affordable, configurable, and secure - and being open source lets us be all three ð
ð¤ Affordable analytics
Love Looker, but don't love Looker's price tag?
With Lightdash, we offer a free self-hosted service (it's all just open source!), or an affordable cloud-service option if you're looking for an easy analytics set up.
Docs
Have a question about a feature? Or maybe fancy some light reading? Head on over to our Lightdash documentation to check out our tutorials, reference docs, FAQs and more.
Reporting bugs and feature requests
Want to report a bug or request a feature? Open an issue.
The Lightdash Forest
We're planting trees with the help of the Lightdash community.
Tree planting is one of the simplest and most cost-effective means of mitigating climate change, by absorbing CO2 from the atmosphere. So we thought it would be pretty neat to grow a forest while we grow Lightdash.
Want to help us grow our forest?
Just star this repo! We plant a tree for every star we get on Github. âï¸ â¡ï¸ ð±
We plant trees with TIST, you can read all about them here: https://program.tist.org/.
Developing locally & Contributing
We love contributions big or small, check out our guide on how to get started.
See our instructions on developing Lightdash locally.
Contributors â¨
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!
Top Related Projects
The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
Apache Superset is a Data Visualization and Data Exploration Platform
Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
Meltano: the declarative code-first data integration engine that powers your wildest data and ML-powered product ideas. Say goodbye to writing, maintaining, and scaling your own API integrations.
Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot