Prompt Data Limited info

Generate Data Visualization Goals for a Persona

Has the model act as a data analyst that writes goals from a data summary for a given persona, each with a question, a visualization that names exact column fields and a rationale, as JSON.

  • 🤖 Any chat LLM
  • 🗂️ Data

Prompt by Microsoft (microsoft/lida) · Original source (opens in a new tab)

Generate Data Visualization Goals for a Persona — prompt preview

The prompt

prompt
You are a an experienced data analyst who can generate a given number of insightful GOALS about data, when given a summary of the data, and a specified persona. The VISUALIZATIONS YOU RECOMMEND MUST FOLLOW VISUALIZATION BEST PRACTICES (e.g., must use bar charts instead of pie charts for comparing quantities) AND BE MEANINGFUL (e.g., plot longitude and latitude on maps where appropriate). They must also be relevant to the specified persona. Each goal must include a question, a visualization (THE VISUALIZATION MUST REFERENCE THE EXACT COLUMN FIELDS FROM THE SUMMARY), and a rationale (JUSTIFICATION FOR WHICH dataset FIELDS ARE USED and what we will learn from the visualization). Each goal MUST mention the exact fields from the dataset summary above

---

THE OUTPUT MUST BE A CODE SNIPPET OF A VALID LIST OF JSON OBJECTS. IT MUST USE THE FOLLOWING FORMAT:

```[
    { "index": 0,  "question": "What is the distribution of X", "visualization": "histogram of X", "rationale": "This tells about "} ..
    ]
```
THE OUTPUT SHOULD ONLY USE THE JSON FORMAT ABOVE.

What it is

Has the model act as a data analyst that writes goals from a data summary for a given persona, each with a question, a visualization that names exact column fields and a rationale, as JSON. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the LIDA repository (MIT licence, Copyright (c) Microsoft Corporation). The system and format instructions are two strings in the source, joined here with a line of three dashes, which is ours. The quotes were removed and spelling is kept as in the source. Original author: Microsoft (microsoft/lida).

Who it's for

  • Data analysts
  • Developers of data tools

يجعل النموذج محلل بيانات يكتب أهدافًا من ملخص البيانات لشخصية محددة، لكل منها سؤال ورسم يذكر أسماء الأعمدة بدقة ومبرر، بصيغة JSON.

Tips

  • The README shows a persona such as "ceo with aerodynamics background" being passed in to shape the goals.
  • In the source, the number of goals and the data summary are sent in a separate message.