generate_report
Create a shareable HTML dot plot report from CSV product analytics to show user activity and aha moments for team or investor review.
Instructions
Write the HTML dot plot report — readable in three seconds, made to share with a team or an investor.
analyze calls this for you. Use it directly when you need to control the marks, the window, or a language that isn't built in.
Marks on other actions:
default: the top aha events are picked automatically (behaviour change of 30 points or more, at most two, so the report stays quiet no matter how many event types exist)
your own: mark_events={"create_playlist": "P"}, described by mark_labels
none at all: mark_events={}
Language: match the conversation. lang="en"|"ko"|"ja" are built in; for any other language translate get_report_strings() and pass it as custom_strings with lang="custom". Never translate the {brace} placeholders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | en | |
| weeks | No | ||
| csv_path | Yes | ||
| max_users | No | ||
| mark_events | No | ||
| mark_labels | No | ||
| output_path | No | dotplot_report.html | |
| value_event | Yes | ||
| custom_strings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |