Public
Edited
Apr 23, 2022
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
Insert cell
Insert cell
Insert cell
Insert cell
minerPowerDailyAverageLatestBucketUrl
Insert cell
Insert cell
Inputs.table(minerPowerByRegionReport.rows)
Insert cell
minerPowerByRegionIndex = d3.index(minerPowerByRegionReport.rows, d => d.region, d => d.date)
Insert cell
regions = [...minerPowerByRegionIndex.keys()].sort().map(key => ({
region: key,
pretty: `${key}: ${regionsCountriesEnglish[key]}`,
scale: 'PiB'
}))
Insert cell
regionsWithData = regions.filter(({ region }) => minerPowerByRegionIndex.get(region))
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
params = [...(new URLSearchParams(location.search.substring(1))).entries()].reduce((acc, [key, value]) => ({ [key]: value, ...acc }), {})
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
dateFns = require('https://bundle.run/date-fns@2.22.1')
Insert cell
Insert cell
Insert cell
Insert cell
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