跳至內容

File:Bitcoin electricity consumption.svg

頁面內容不支援其他語言。
這個檔案來自維基共享資源
維基百科,自由的百科全書
原始檔案 (SVG 檔案,表面大小:864 × 672 像素,檔案大小:448 KB)


摘要

描述
English: Bitcoin electricity consumption based on data from the University of Cambridge (Source: Cambridge Bitcoin Electricity Consumption Index. https://cbeci.org/). This plot is an updated SVG replacement for File:Bitcoin electricity consumption.png. (The country equivalents in the old plot have been left out as requested at Commons:Graphic_Lab/Illustration_workshop#Bitcoin_annualized_electricity_consumption.)
日期
來源

自己的作品

Data sources:

作者 Morn
SVG開發
InfoField
 本SVG檔案的原始碼通過W3C驗證
 本向量圖形使用Matplotlib創作。
原始碼
InfoField

Python code

Source code
from pylab import *
from datetime import datetime, timezone

mi, ma, gu, t = [], [], [], []
matplotlib.rcParams.update({'font.size': 16})

# CSV file from https://ccaf.io/cbeci/api/v1.4.0/download/data?price=0.05
f = open("export.csv")
for num, l in enumerate(f.readlines()):
    if num < 2: continue
    x = l.split(",")
    ts = int(x[0])
    d = datetime.fromtimestamp(ts, timezone.utc)
    t.append(d)
    ma.append(float(x[5]))
    mi.append(float(x[6]))
    gu.append(float(x[7]))

figure(figsize = (9, 7))
fill_between(t, mi, ma, color = "#d8d8d8")
plot(t, ma, label = "Upper bound" , lw = 3.5, c = "#1829af", alpha = .5)
plot(t, mi, label = "Lower bound" , lw = 3.5, c = "#18af23", alpha = .5)
plot(t, gu, label = "Estimate", lw = 5.5, c = "#af2318")

# Estimate is drawn last (so that it is not obscured by the other curves),
# but it should come in _second_ place in the legend, so shuffle legend order accordingly:
handles, labels = gca().get_legend_handles_labels()
order = [0, 2, 1]
legend([handles[idx] for idx in order], [labels[idx] for idx in order], loc = "upper left")

#xlabel("Year")
ylabel("[TWh]")
title("Bitcoin annualized electricity consumption")
axis([datetime(2016, 1, 1), datetime(2025, 4, 4), 0, 600])
grid()
gca().tick_params(axis = "both", pad = 14)
gca().set_position([.15, .15, .8, .75])
text(datetime(2024, 1, 1), -90, 'Source: University of Cambridge', va = 'bottom', ha = 'right' , size = 14)
savefig("Bitcoin electricity consumption.svg")

show()
This file may be updated to reflect new information. If you wish to use a specific version of the file without it being overwritten, please upload the required version as a separate file.

授權條款

我,本作品的著作權持有者,決定用以下授權條款發佈本作品:
Creative Commons CC-Zero 此檔案於創用 CC CC0 1.0 通用公有領域貢獻宣告下分發。
在此宣告之下分發本作品者,已依據各國著作權法,在全世界放棄其對本作品所擁有的著作權及所有相關相似的法律權利,從而將本作品貢獻至公有領域。您可以複製、修改、分發和演示該作品,用於任何商業用途,所有這些都不需要請求授權。

說明

添加單行說明來描述出檔案所代表的內容

在此檔案描寫的項目

描繪內容

比特幣 繁體中文 (已轉換拼寫)

創作作者 Chinese (Hong Kong) (已轉換拼寫)

沒有維基數據項目的某些值

作者姓名字串 Chinese (Hong Kong) (已轉換拼寫):​Morn
維基媒體使用者名稱 繁體中文 (已轉換拼寫):​Morn

著作權狀態 繁體中文 (已轉換拼寫)

檔案來源 Chinese (Taiwan) (已轉換拼寫)

上傳者的原創作品 繁體中文 (已轉換拼寫)

多媒體型式 繁體中文 (已轉換拼寫)

image/svg+xml

創作所用軟件 繁體中文 (已轉換拼寫)

Matplotlib 中文 (已轉換拼寫)

客體角色 Chinese (Hong Kong) (已轉換拼寫):​plotting library 英文
客體角色 Chinese (Hong Kong) (已轉換拼寫):​自由及開放源碼軟件 Chinese (Hong Kong) (已轉換拼寫)
客體角色 Chinese (Hong Kong) (已轉換拼寫):​Python函式庫 繁體中文 (已轉換拼寫)

資料大小 Chinese (Hong Kong) (已轉換拼寫)

458,931 位元組

校驗和 繁體中文 (已轉換拼寫)

a56792f82d1dcf4d5a0aca16b8597e61f9afe9b0

檔案歷史

點選某个日期/時間檢視對應時刻的檔案。

日期/時間縮⁠圖大小用戶備⁠註
目前2025年2月22日 (六) 21:03於 2025年2月22日 (六) 21:03 版本的縮圖864 × 672​(448 KB)MTheilerupdate 2025-02-22
2023年12月10日 (日) 10:42於 2023年12月10日 (日) 10:42 版本的縮圖810 × 630​(412 KB)Mornchange labels in legend
2023年12月9日 (六) 17:11於 2023年12月9日 (六) 17:11 版本的縮圖810 × 630​(412 KB)MornUploaded own work with UploadWizard

下列頁面有用到此檔案:

全域檔案使用狀況

以下其他wiki使用了這個檔案:

詮釋資料