Published
Edited
Mar 31, 2020
1 fork
Importers
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof velocity = slider({
min: 6,
max: 100,
step: 0.5,
value: 12,
title: "Token velocity for this use case",
description: "Increments in 0.5 up to 300. Default is choosen based on velocity for cryptocommodities cited here: https://medium.com/@cburniske/cryptoasset-valuations-ac83479ffca7"
})
Insert cell
Insert cell
userLifetimeValue = {
let values = []
for(let i=0; i<averageUserLifetime; i++) {
values[i] = ((dollarPriceStickers * userBuyPerYear))
}
let grossDiscountedProduct = NPVaggregate(discountRate, ...values.map(v => v / velocity))
let grossBurn = values.map(gross => gross * burnRate)
let discountedGrossBurn = NPVaggregate(discountRate, ...grossBurn)
return discountedGrossBurn + grossDiscountedProduct
}
Insert cell
md`#### Since the value flows from buyer to seller this is a discounted equation of exchange`
Insert cell
Insert cell
discountedGrossProduct = NPVaggregate(discountRate, ...grossProduct)
Insert cell
grossBurn = aggregateDollarDemandPerYear.map((gross, idx) => {
return gross * burnRate
})
Insert cell
discountedGrossBurn = NPVaggregate(discountRate, ...grossBurn)
Insert cell
netValue = grossProduct.map((gross, idx) => {
return gross + grossBurn[idx]
})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
format = d3.format(",")
Insert cell
height = Math.min(width, 500)
Insert cell
pie = d3.pie().padAngle(0.005).sort(null).value(d => d.value)
Insert cell
arc = {
const radius = Math.min(width, height) / 2;
return d3.arc().innerRadius(radius * 0.67).outerRadius(radius - 1);
}
Insert cell
d3 = require('d3')
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more