Progress bar for characters

I want to implement a progress scale for filling characters, but I couldn’t figure out how to do it. I am writing an article there is a limit of 10,000 characters and I need a progress scale that will be filled in from the bottom and automatically when writing an article. What methods can be used to do this?

I wrote a little Dataview powered thing that accomplishes something similar, here’s a rough draft

```dataviewjs
let completion = dv.current().file
// unfortunately, dataview doesn't directly expose the contents of the file. Check out this forum thread for details on solutions for fetching word count: https://forum.obsidian.md/t/find-longest-notes-in-vault/77229/6
dv.el("progress", "", { attr: { value: completion, max : "10000" } });
```

This should get you most of the way there.

and how do I apply this to my document? I’m writing, but it’s not filling up.

I included a link to another forum post in the code snippet I posted that explains a possible solution, check the second line starting with //.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.