flat-viewer icon indicating copy to clipboard operation
flat-viewer copied to clipboard

graph evolution of a numeric value over time

Open julien-c opened this issue 3 years ago • 4 comments

[cross-posting https://github.com/githubocto/flat/discussions/15 in case this is a better place to discuss this]

🧙 The killer feature for me would be to be able to graph the evolution of values over time (i.e. across commits)

i.e. I'm using a Flat action to scrape the number of "things" from an API. I want to graph number of "things" over time 📈

Let me know if I can help!

julien-c avatar May 27 '21 16:05 julien-c

hey @julien-c! Having visualizations of the data (especially over time/commits) is a great idea! It's a bit of a beast, and so we won't be able to tackle it as a team anytime soon, but I'll leave this issue open in case anyone is interested in taking a stab at it!

Wattenberger avatar May 28 '21 15:05 Wattenberger

@julien-c you might want to try my Data Preview vscode extension for some basic pivots and plots if you also use that IDE. See features for more info. btw, it runs in CodeSpaces too :wink:

Data preview supports loading data from public https data sources. So, you can use github actions to update the data files in your repo and then reload them in Data Preview in a grid or one of the basic charts views.

Just be aware there is currently an issue with the dark data preview UI theme on darwin OS. So, just change that setting to light.

Have fun!

RandomFractals avatar Jun 02 '21 12:06 RandomFractals

This feature would be awesome, I was also looking for it. This is especially relevant for Flat Action that modifies the same file, not appends to it with a "datetime" column.

@RandomFractals I tried Data Preview and it does not show historic values - what @julien-c requested, but thanks for the suggestion.

ribtoks avatar Jul 21 '21 04:07 ribtoks

@RandomFractals I tried Data Preview and it does not show historic values - what @julien-c requested, but thanks for the suggestion.

I only suggested Data Preview as an alternative data viewer in vscode that also allows you to crate basic charts. It doesn't track data files changes for historic values display, and I don't think I implied that in my comment.

RandomFractals avatar Jul 21 '21 08:07 RandomFractals