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

Data Visualizations for Yearn #89

Closed
1 task done
kyhoon opened this issue Sep 1, 2022 · 5 comments
Closed
1 task done

Data Visualizations for Yearn #89

kyhoon opened this issue Sep 1, 2022 · 5 comments
Labels
approved An approved budget request budget request A budget request

Comments

@kyhoon
Copy link

kyhoon commented Sep 1, 2022

Scope

Data visualizations have become a powerful tool to convey one's message on social media, especially in the DeFi space during this bearish market full of fear, uncertainty, and doubt.

The above tweets are presented as an objective depiction of the market phenomenon and thus appear trustworthy, while being able to naturally ignite a value proposition from the community:

Yearn has a very powerful data infrastructure to create these narratives, visualizations that portray our main strengths and empower our branding. We already have a huge list of projects that are dedicated to create and persist our data. Just to name a few:

However when we searched for Yearn Finance on twitter we could not find a single narrative that was data-driven.

We want to fix this.

Plan

The previous budget request for the data team already contains the initiatives and the ongoing projects as a whole team, thus we would like to focus on the plans for this specific project here.

We plan to solve the above problem in two ways, creating the visualizations ourselves, and promoting the narratives created from the others. For the latter we believe that it is necessary to make a server that can embed and update visualizations created from different data platforms, such as Dune Analytics and Footprint Analytics.

We plan to update all visualizations in a weekly basis using the latest data. The changes in the interpretations will be noted also in a weekly basis through the social media.

We expect this project to span a total of three months. However, we would like to note that we make this request to be supporting the project for the first month only, for better flexibility and assessment of the project. Nevertheless, we outline the full 3-month roadmap in the following.

First Month (Requested Month)

Sample image for the efficient frontier

Second Month

Sample image for the customer clustering

Third Month

  • Create more visualizations in other platforms, and/or migrate them to the frontend
  • Simple keyword cluster and sentiment analysis for Yearn
    • Preliminary step for using heavier AI methods
    • Collect natural language data from Twitter and Reddit
    • Aims to help answer the following questions:
      • How do people think about Yearn?
      • Which narrative is the most powerful for Yearn's branding?
      • What do people feel different about Yearn compared to other protocols?

Deadline

2022-09-30

People

List of team members and the responsibilities:

  • borrito
    • implement the efficient frontier
    • will be addressing all issues full-time
  • huggingbot
    • develop the frontend server
    • prepare migrations of the previous works from jameskbh
  • kofee
    • implement and maintain data pipelines (subgraph, yearn-exporter, ydaemon)
  • jameskbh
    • create visualizations in flourish studio using data from the yearn-exporter
    • research other data visualization platforms
  • farrah (not receiving remuneration from this grant)
    • lead potential product developments from the visualizations
    • in charge of internal assessment of the performance and effectiveness of the project
  • bobthebuilder (not receiving remuneration from this grant)
    • subject matter expert on data infrastructure
  • marius (not receiving remuneration from this grant)
    • subject matter expert on data infrastructure

The members will continue to support the other initiatives mentioned in the previous budget request for the data team as well.

Money

$15,000 for a single month. After a month another request will be presented to support the next milestones of the project.

The budget will be streamed to the members noted above.

Amount

15000 DAI, or YFI of equivalent value

Wallet address

streamed to the contributors

Reporting

  • I agree to post weekly updates
@kyhoon kyhoon added the budget request A budget request label Sep 1, 2022
@milkyklim milkyklim added the approved An approved budget request label Sep 8, 2022
@RestlessMike
Copy link

Great project. Lfg.

@kyhoon
Copy link
Author

kyhoon commented Sep 18, 2022

Update for the first week!

The Aim for This Week

We spent most of our time preparing the new server and finishing off some housekeeping work in the data repo.
More specifically, before actually setting up the frontend, we worked for first shutting down the temporary risk API that was being deployed from the repo to make things simple.
This requires us to finish migrating the risk framework to yDaemon and updating the test logic in ySync.

Another focus for this week was to try out the whole process of publishing an article/tweet, tracking some user metrics, and doing follow-ups and RTs if necessary.
We tried to come up with a simple tweet like this one from Wot_Is_Goin_On, but could not finish in time, we are still choosing the metric to portray.

What We Actually Did

Plans for Next Week

It seems we would need some more lead time before we can actually start on the efficient frontier.
kofee will mainly be handling the migrations necessary for this transition.
borrito and jameskbh will make a draft for the tweet and start posting on the media.
borrito and huggingbot will work on replicating the Yearn Vaults' Stablecoins Report.

@kyhoon
Copy link
Author

kyhoon commented Sep 25, 2022

Update for the second week!

The Aim for This Week

Our primary focus for this week was to try out a simple tweet and prepare the data pipelines for it.
In this process, we found that some metrics for the vaults/strategies that were directly fetched using multicall do not match with the metrics shown on yearn.vision and the subgraph. Thus we collaborated with the Vault Management team and the subject matter experts to understand the discrepancies.

The mismatches will be handled soon after we launch the initial version of the frontend and the weekly tweets. I would like to share some details about it here for the record:

What We Actually Did

Plans for Next Week

We are set with the initial contents for the tweet - sharing the vaults that have the highest APY - and the channels to share it, which are the YFI Interns twitter account and the data-science workgroup in discord. We will go over the data for a few more days and post it on Tuesday the 27th.

We are also planning to spin up a development server for the frontend next week. The Yearn Vaults' Stablecoins Report and the draft for the efficient frontier will be hosted on the server. The efficient frontier visualization will be honed to deliver the right narrative, it seems like the current pipeline can show us only the distinction between the USD backed and the ETH backed pools.

@kyhoon
Copy link
Author

kyhoon commented Oct 2, 2022

Update for the third week!

The Aim for This Week

Our main focus for this week was twofold: to create the initial draft for the efficient frontier visualization and to finally finish the migration of the previous FastAPI to yDaemon. The first item has been done, but the second item still needs confirmation from the consumers of this information, mainly the vault management team.

We also began to post tweets and schedule RTs using the YFI Interns twitter account. Although increasing the traction of our media channels was not the primary goal of this project, we thought it would be beneficial to increase our media frequency to get more feedback for our visualizations.

What We Actually Did

Plans for Next Week

We plan to change up the UI designs for the frontend to better match the looks of our visualizations, and hopefully also to blend into our brand image. The app will be hosted from the yearn-data-analytics repo using the Turborepo system, which is the monorepo build system used by the Yearn Web Lib.

We also plan to continue the tweets about some basic information on our products like the APYs of vaults.

One thing to note is that some members of the team, kofee and huggingbot, will also be splitting their time to work on creating dashboards in yearn.vision for veYFI. This could temporarily decrease their contribution to this project, but we will make sure that we deliver the project on time.

@kyhoon
Copy link
Author

kyhoon commented Oct 10, 2022

Update for the fourth week!

The Aim for This Week

We finally completed the migration and deployed the app at:
https://yearn-data-analytics.vercel.app/

image

This initial version of the app will serve two visualizations, a retouch of the overview of V2 vaults made by jameskbh, and the efficient frontier. But the current visualizations are using outdated data points, which will be updated next week.

What We Actually Did

Plans for Next Week

Although there still remain some details that need to be handled, the big milestone for the first month has been completed. Thus we now plan to move on to the next milestone which is to implement the customer clustering analysis. We will create a separate budget request for this next round to continue the renumeration for the members.

Thanks to the retweet from the main account, the YFI Interns account is regaining back its traction. We will continue on making simple tweets about our vaults and strategies, and gradually move on to sharing simple visualizations like the overview of V2 vaults. These tweets will have a link to the data visualization website and to our main yearn finance app to encourage traffic.

Marco Worms will help us out with the overall design and branding of the website, they have already created examples for the assets and taglines. We plan to work together on driving up the quality and giving some more character to the frontend.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved An approved budget request budget request A budget request
Projects
Status: Done
Development

No branches or pull requests

4 participants