Unlisted
Edited
Nov 6, 2024
Importers
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
viewof storageSelection = {
return Inputs.select(storageCosts, {
label: "Storage Cost",
format: (d) =>
`${d.source} ${d3.format("$0.6f")(
d.costPer32GiBSectorPerDay
)} / 32GiB-sector /24h`
});
}
Insert cell
Insert cell
GiBin1TB = 10 ** 12 / 2 ** 30
Insert cell
SectorsInTB = Math.floor((1 * GiBin1TB) / (32 * redundancy))
Insert cell
costPer32GiBSectorPerDay = (entry) =>
entry.cost / (SectorsInTB * 365 * entry.warranty)
Insert cell
Insert cell
data = [
{
source: "Magic Dealer",
cost: 6.25,
warranty: 4,
year: 2024
},
{
source: "HDD Manifacture deal",
cost: 18.0,
warranty: 5,
year: 2023
},
{
source: "CryptoNet Diskprices",
cost: 15.0,
warranty: 2,
year: 2020
},
{
source: "DiskPrices.com",
cost: 12.83,
warranty: 2,
year: 2023
},
{
source: "FilMine",
cost: 30,
warranty: 5,
year: 2023
},
{
source: "SP (Tier 3)",
cost: 37.6,
warranty: 5,
year: 2023
}
]
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