githubocto / flat-viewer

Data viewer for Flat repos
https://flatgithub.com
MIT License
138 stars 16 forks source link

graph evolution of a numeric value over time #17

Open julien-c opened 3 years ago

julien-c commented 3 years ago

[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!

Wattenberger commented 3 years ago

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!

RandomFractals commented 3 years ago

@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!

ribtoks commented 3 years ago

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.

RandomFractals commented 3 years ago

@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.