general
slug: tutorial-getting-started-with-dazlDAZL is a pipeline-based analytics language that turns raw data into insight. Using easy syntax, you define steps that extract, transform, analyze, and visualize your data — all in one workflow.
This guide walks you through your first DAZL script using sample data, so you can see how DAZL works together with nollejBase to store insights and results.
Before diving into code, here are the key ideas:
load, loadInline, freq, calculate, cube, chart, dashboard, etc.).Here’s a minimal DAZL workflow using inline sample data:
steps:
- loadInline:
data:
- {region: "North", product: "Widget", price: 10, quantity: 5}
- {region: "North", product: "Gadget", price: 15, quantity: 2}
- {region: "South", product: "Widget", price: 10, quantity: 3}
- {region: "East", product: "Widget", price: 10, quantity: 7}
- calculate:
assign:
total: "$price * $quantity"
- freq:
columns: [region]
- chart:
type: bar
x_axis: region
y_axis: total
total by multiplying price and quantity.region.You can run this script:
[ dazl ] shortcode.Once the script runs, you are sent to the 'results' module. This screen is organized within a few tabs (reports, datasets, runlog)
Each tab contains an accordion for all the assets produced, and you're automatically open in the first report
These report results can be tables, charts, dashboards, reports. Any $html output produced by steps are here.
The datasets tab contains all the data loaded from external sources, and datasets created throughout the script execution.
The runlog tab contaims an accordion panel for each step, including run time stats and memory usage.
Tips for Beginners
- Keep steps simple and sequential — easier to debug.
- Start with small datasets (
loadInline) before connecting to live data.- Use descriptive column names for clarity in scripts and dashboards.