Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chart showing frequency of values #410

Open
solpyro opened this issue Jan 7, 2025 · 0 comments
Open

Chart showing frequency of values #410

solpyro opened this issue Jan 7, 2025 · 0 comments

Comments

@solpyro
Copy link

solpyro commented Jan 7, 2025

I have the frontmatter field mood: 🙂 in my daily entries, and I want to build a pie chart to show the frequency of each emoji (or any unique string really).

My current attempt is

searchType: frontmatter
searchTarget: mood
dataset: mood
pie:
    label: mood
    data: mood

which renders the error No valid Y value found in notes. I'm sure I need to do some processing on the data to group and count the unique values, but I can't find how to do that in the examples and documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant