Luminon Luminon logo

3. Getting started: your first dashboard

3.1 Prepare data

A strong first dashboard starts with clean data. If headers are consistent and value types are clear, the agent can infer better charts with fewer manual changes.

For this tutorial we will use the dataset retail-analytics.csv , with sales, customers, campaigns, and weather fields for 2024 and 2025.

Reference columns and rows

yearmonthmonth_numbercountrychannelcategoryproductcustomer_segmentunits_soldrevenueprofitdiscount_pctmarketing_spendwebsite_visitsconversion_rateavg_order_valuereturnscustomer_satisfactiontemperatureholiday_seasoncompetitor_price_index
2024January1USAEcommerceElectronicsWireless HeadphonesReturning285252949797124733620143.7288.75114.524096
2024January1USARetailHomeKitchen BlenderNew240182866650103155235222.5276.1994.224098
2024January1CanadaEcommerceGroceryOrganic Snack BoxLoyalty39215686564362930502524.6240.0274.4290100
  • `month_number` is used to sort months correctly.
  • `holiday_season` should be binary: `0` or `1`.
  • `discount_pct`, `conversion_rate`, `customer_satisfaction`, `temperature`, and `competitor_price_index` should be treated as numeric variables.
  • `country`, `channel`, `category`, `product`, `customer_segment`, and `month` are categorical.
  • Remove columns you do not want to expose.
  • Fix dates, numbers, and repeated labels.
  • Define a primary column to segment views.