Engee Community
/
Примеры и проекты
/
Кластеризация регионов РФ в Julia
Кластеризация регионов РФ в Julia
Автор
Решение задачи кластеризации регионов РФ по типу экономики
с выбором числа кластеров
1. Ввод исходных данных, нормализация данных и реализация алгоритма kmeans
In [ ]:
using RDatasets, Clustering, Plots, PlotThemes
using DataFrames, Query
import XLSX
using StatsPlots
using Random
Random.seed!(123)
#ввод социально-экономических показателей регионов РФ
Regdata = XLSX.readxlsx("/user/Clasters/REG_RU.xlsx")
Regtab1 = Regdata["dan02"]
Regtab00 = Regtab1[2:82, 5:7]
Regtab00 = Float64.(Regtab00)
XX = Regtab00
#нормирование значений элементов массива XX
XX1 = XX[:, 1]
XX2 = XX[:, 2]
XX3 = XX[:, 3]
SUMX = XX1 + XX2 + XX3
XX[:, 1] = (XX[:, 1] ./ SUMX) .* 100
XX[:, 2] = (XX[:, 2] ./ SUMX) .* 100
XX[:, 3] = (XX[:, 3] ./ SUMX) .* 100
XX[:, 1:3]
Reg = Regtab1[2:82, 1]
print("Введите число кластеров:2,3,4,5,6,7, 8 \n")
num = readline()
Ncl = tryparse(Int64, num)
println("Число заданных кластеров = ", Ncl)
#Ncl=6
#println("Число заданных кластеров = ", Ncl)
XXtr = transpose(XX[:, 1:3])
result = kmeans(XXtr, Ncl); # запустить K-средних для Ncl кластеров
Y = result.assignments[:, 1] # получить назначения точек кластерам
c = counts(result) # получить размеры кластеров
M = result.centers # получить центры кластеров
#println(Y)
println("Размеры кластеров\n $c")
println("Центры кластеров:")
for i in 1:3
println("$(M[i,1:Ncl])")
end
Tab = hcat(Reg, XX, Y)
Tabdf = DataFrame(Tab, :auto)
Tabdf = Tabdf[1:81, :]
Tabdf.x1 = convert(Vector{String}, Tabdf.x1)
Tabdf.x2 = convert(Vector{Float64}, Tabdf.x2)
Tabdf.x3 = convert(Vector{Float64}, Tabdf.x3)
Tabdf.x4 = convert(Vector{Float64}, Tabdf.x4)
Tabdf.x5 = convert(Vector{Int64}, Tabdf.x5)
Tabdf[:, 2:4] = @.round(Tabdf[:, 2:4]);
global Tabdf;
Число заданных кластеров = 6 Размеры кластеров [11, 6, 21, 9, 6, 28] Центры кластеров: [20.721928264237473, 71.3905021278264, 3.1108902249773474, 42.573034975330785, 3.081844943227313, 2.1378528370841474] [5.2287259003319875, 9.02945477613967, 30.78014714497308, 7.9203633411604795, 66.09617828206524, 8.80708768326089] [74.04934583543053, 19.58004309603393, 66.10896263004958, 49.50660168350875, 30.82197677470744, 89.05505947965499]
2.Графическое представление результатов решения задачи кластеризации
In [ ]:
dfM1 = DataFrame(M', [:x2, :x3, :x4])
colkl = floor.(Int, Tabdf.x5);
plotly()
theme(:dao)
scatter(Tabdf.x2, Tabdf.x3, Tabdf.x4, legend= false, wsize=(1000, 650),
hovers=Tabdf.x1, color=colkl, ms=4, ma=0.7)
for i in 1:Ncl
#@show [dfM[i, 1] dfM[i, 2] dfM[i, 3]]
clast = string(i)
Centr = "Центр кластера" * " " * clast
scatter!([dfM1.x2[i]],[dfM1.x3[i]],[dfM1.x4[i]], hovers=Centr, mc=:black, ms=5, ma=0.9)
end
titstr = "Кластеризация регионов РФ по структуре производства (алгоритм kmeans)." * " " * "Число кластеров= $Ncl"
xlabel!("PI_N %")
ylabel!("Pcx_N %")
zlabel!("PP_N %")
title!(titstr)
#legend = :topleft
Out[0]:
3.Табличное представление результатов решения задачи кластеризации
In [ ]:
Tab=Tabdf
Tab = select(Tab, "x1" => "Регион", "x2" => "Добыча %", "x3" => "Агро % ", "x4" => "Индустрия %", "x5" => "Кластер")
@show Tab;
Tab = 81×5 DataFrame Row │ Регион Добыча % Агро % Индустрия % Кластер │ String Float64 Float64 Float64 Int64 ─────┼────────────────────────────────────────────────────────────────────────── 1 │ Белгородская область 15.0 23.0 62.0 3 2 │ Брянская область 0.0 26.0 74.0 3 3 │ Владимирская область 1.0 5.0 94.0 6 4 │ Воронежская область 1.0 27.0 72.0 3 5 │ Ивановская область 1.0 8.0 91.0 6 6 │ Калужская область 0.0 6.0 94.0 6 7 │ Костромская область 1.0 10.0 90.0 6 8 │ Курская область 19.0 34.0 47.0 3 9 │ Липецкая область 1.0 18.0 82.0 6 10 │ Московская область 0.0 3.0 96.0 6 11 │ Орловская область 0.0 42.0 58.0 3 12 │ Рязанская область 0.0 18.0 81.0 6 13 │ Смоленская область 1.0 9.0 90.0 6 14 │ Тамбовская область 0.0 46.0 54.0 3 15 │ Тверская область 0.0 8.0 91.0 6 16 │ Тульская область 1.0 9.0 90.0 6 17 │ Ярославская область 0.0 8.0 92.0 6 18 │ г. Москва 11.0 0.0 89.0 6 19 │ Республика Карелия 36.0 2.0 62.0 4 20 │ Республика Коми 55.0 2.0 42.0 4 21 │ Архангельская область 48.0 2.0 50.0 4 22 │ Вологодская область 0.0 4.0 95.0 6 23 │ Калининградская область 2.0 7.0 91.0 6 24 │ Ленинградская область 1.0 7.0 92.0 6 25 │ Мурманская область 20.0 0.0 80.0 1 26 │ Новгородская область 0.0 10.0 90.0 6 27 │ Псковская область 1.0 26.0 72.0 3 28 │ г. Санкт-Петербург 1.0 0.0 99.0 6 29 │ Республика Адыгея 3.0 35.0 62.0 3 30 │ Республика Калмыкия 0.0 85.0 15.0 5 31 │ Республика Крым 6.0 24.0 70.0 3 32 │ Краснодарский край 2.0 29.0 69.0 3 33 │ Астраханская область 61.0 13.0 26.0 2 34 │ Волгоградская область 3.0 17.0 80.0 6 35 │ Ростовская область 2.0 24.0 73.0 3 36 │ Республика Дагестан 2.0 70.0 28.0 5 37 │ Республика Ингушетия 6.0 77.0 17.0 5 38 │ Кабардино-Балкарская республика 0.0 55.0 45.0 5 39 │ Карачаево-Черкесская республика 4.0 45.0 51.0 3 40 │ Республика Северная Осетия 1.0 49.0 50.0 3 41 │ Чеченская Республика 6.0 49.0 45.0 5 42 │ Ставропольский край 2.0 32.0 66.0 3 43 │ Республика Башкортостан 12.0 11.0 76.0 1 44 │ Республика Марий Эл 0.0 22.0 77.0 3 45 │ Республика Мордовия 0.0 24.0 76.0 3 46 │ Республика Татарстан 20.0 9.0 71.0 1 47 │ Удмуртская Республика 29.0 11.0 59.0 4 48 │ Чувашская Республика 0.0 15.0 84.0 6 49 │ Пермский край 19.0 3.0 78.0 1 50 │ Кировская область 0.0 14.0 85.0 6 51 │ Нижегородская область 0.0 5.0 94.0 6 52 │ Оренбургская область 48.0 14.0 38.0 4 53 │ Пензенская область 0.0 31.0 68.0 3 54 │ Самарская область 17.0 8.0 76.0 1 55 │ Саратовская область 5.0 25.0 70.0 3 56 │ Ульяновская область 4.0 15.0 81.0 6 57 │ Курганская область 2.0 24.0 75.0 3 58 │ Свердловская область 4.0 4.0 93.0 6 59 │ Тюменская область 73.0 1.0 26.0 2 60 │ Челябинская область 8.0 6.0 86.0 6 61 │ Республика Алтай 5.0 60.0 36.0 5 62 │ Республика Тыва 54.0 26.0 20.0 2 63 │ Республика Хакасия 29.0 6.0 65.0 1 64 │ Алтайский край 2.0 28.0 70.0 3 65 │ Красноярский край 24.0 4.0 72.0 1 66 │ Иркутская область 42.0 5.0 52.0 4 67 │ Кемеровская область 48.0 4.0 48.0 4 68 │ Новосибирская область 7.0 13.0 80.0 6 69 │ Омская область 0.0 10.0 90.0 6 70 │ Томская область 30.0 9.0 61.0 4 71 │ Республика Бурятия 26.0 9.0 65.0 1 72 │ Республика Саха (Якутия) 86.0 3.0 11.0 2 73 │ Забайкальский край 66.0 9.0 25.0 2 74 │ Камчатский край 16.0 5.0 78.0 1 75 │ Приморский край 6.0 12.0 82.0 6 76 │ Хабаровский край 5.0 4.0 91.0 6 77 │ Амурская область 46.0 21.0 32.0 4 78 │ Магаданская область 27.0 1.0 72.0 1 79 │ Сахалинская область 88.0 2.0 10.0 2 80 │ Еврейская автономная область 1.0 29.0 70.0 3 81 │ Чукотский автономный округ 18.0 1.0 81.0 1
{"id": "1ccea846-e26f-4a29-b23a-6167e0fc68e4", "data": [{"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Белгородская область"], "legendgroup": "y1", "z": [62], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [23], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [15]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Брянская область"], "legendgroup": "y1", "z": [74], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [26], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Владимирская область"], "legendgroup": "y1", "z": [94], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [5], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Воронежская область"], "legendgroup": "y1", "z": [72], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [27], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Ивановская область"], "legendgroup": "y1", "z": [91], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [8], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Калужская область"], "legendgroup": "y1", "z": [94], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [6], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Костромская область"], "legendgroup": "y1", "z": [90], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [10], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Курская область"], "legendgroup": "y1", "z": [47], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [34], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [19]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Липецкая область"], "legendgroup": "y1", "z": [82], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [18], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Московская область"], "legendgroup": "y1", "z": [96], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [3], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Орловская область"], "legendgroup": "y1", "z": [58], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [42], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Рязанская область"], "legendgroup": "y1", "z": [81], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [18], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Смоленская область"], "legendgroup": "y1", "z": [90], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [9], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Тамбовская область"], "legendgroup": "y1", "z": [54], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [46], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Тверская область"], "legendgroup": "y1", "z": [91], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [8], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Тульская область"], "legendgroup": "y1", "z": [90], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [9], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Ярославская область"], "legendgroup": "y1", "z": [92], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [8], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["г. Москва"], "legendgroup": "y1", "z": [89], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [0], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [11]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Карелия"], "legendgroup": "y1", "z": [62], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [2], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [36]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Коми"], "legendgroup": "y1", "z": [42], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [2], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [55]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Архангельская область"], "legendgroup": "y1", "z": [50], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [2], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [48]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Вологодская область"], "legendgroup": "y1", "z": [95], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [4], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Калининградская область"], "legendgroup": "y1", "z": [91], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [7], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Ленинградская область"], "legendgroup": "y1", "z": [92], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [7], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Мурманская область"], "legendgroup": "y1", "z": [80], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [0], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [20]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Новгородская область"], "legendgroup": "y1", "z": [90], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [10], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Псковская область"], "legendgroup": "y1", "z": [72], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [26], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["г. Санкт-Петербург"], "legendgroup": "y1", "z": [99], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [0], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Адыгея"], "legendgroup": "y1", "z": [62], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [35], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [3]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Калмыкия"], "legendgroup": "y1", "z": [15], "marker": {"symbol": "circle", "color": "rgba(186, 48, 48, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [85], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Крым"], "legendgroup": "y1", "z": [70], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [24], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [6]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Краснодарский край"], "legendgroup": "y1", "z": [69], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [29], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Астраханская область"], "legendgroup": "y1", "z": [26], "marker": {"symbol": "circle", "color": "rgba(0, 154, 250, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [13], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [61]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Волгоградская область"], "legendgroup": "y1", "z": [80], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [17], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [3]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Ростовская область"], "legendgroup": "y1", "z": [73], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [24], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Дагестан"], "legendgroup": "y1", "z": [28], "marker": {"symbol": "circle", "color": "rgba(186, 48, 48, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [70], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Ингушетия"], "legendgroup": "y1", "z": [17], "marker": {"symbol": "circle", "color": "rgba(186, 48, 48, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [77], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [6]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Кабардино-Балкарская республика"], "legendgroup": "y1", "z": [45], "marker": {"symbol": "circle", "color": "rgba(186, 48, 48, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [55], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Карачаево-Черкесская республика"], "legendgroup": "y1", "z": [51], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [45], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [4]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Северная Осетия"], "legendgroup": "y1", "z": [50], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [49], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Чеченская Республика"], "legendgroup": "y1", "z": [45], "marker": {"symbol": "circle", "color": "rgba(186, 48, 48, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [49], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [6]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Ставропольский край"], "legendgroup": "y1", "z": [66], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [32], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Башкортостан"], "legendgroup": "y1", "z": [76], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [11], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [12]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Марий Эл"], "legendgroup": "y1", "z": [77], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [22], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Мордовия"], "legendgroup": "y1", "z": [76], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [24], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Татарстан"], "legendgroup": "y1", "z": [71], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [9], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [20]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Удмуртская Республика"], "legendgroup": "y1", "z": [59], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [11], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [29]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Чувашская Республика"], "legendgroup": "y1", "z": [84], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [15], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Пермский край"], "legendgroup": "y1", "z": [78], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [3], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [19]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Кировская область"], "legendgroup": "y1", "z": [85], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [14], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Нижегородская область "], "legendgroup": "y1", "z": [94], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [5], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Оренбургская область"], "legendgroup": "y1", "z": [38], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [14], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [48]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Пензенская область"], "legendgroup": "y1", "z": [68], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [31], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Самарская область"], "legendgroup": "y1", "z": [76], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [8], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [17]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Саратовская область"], "legendgroup": "y1", "z": [70], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [25], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [5]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Ульяновская область"], "legendgroup": "y1", "z": [81], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [15], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [4]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Курганская область"], "legendgroup": "y1", "z": [75], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [24], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Свердловская область "], "legendgroup": "y1", "z": [93], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [4], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [4]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Тюменская область"], "legendgroup": "y1", "z": [26], "marker": {"symbol": "circle", "color": "rgba(0, 154, 250, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [1], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [73]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Челябинская область"], "legendgroup": "y1", "z": [86], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [6], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [8]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Алтай"], "legendgroup": "y1", "z": [36], "marker": {"symbol": "circle", "color": "rgba(186, 48, 48, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [60], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [5]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Тыва"], "legendgroup": "y1", "z": [20], "marker": {"symbol": "circle", "color": "rgba(0, 154, 250, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [26], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [54]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Хакасия"], "legendgroup": "y1", "z": [65], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [6], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [29]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Алтайский край"], "legendgroup": "y1", "z": [70], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [28], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Красноярский край"], "legendgroup": "y1", "z": [72], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [4], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [24]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Иркутская область"], "legendgroup": "y1", "z": [52], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [5], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [42]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Кемеровская область"], "legendgroup": "y1", "z": [48], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [4], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [48]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Новосибирская область "], "legendgroup": "y1", "z": [80], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [13], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [7]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Омская область"], "legendgroup": "y1", "z": [90], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [10], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [0]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Томская область"], "legendgroup": "y1", "z": [61], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [9], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [30]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Бурятия"], "legendgroup": "y1", "z": [65], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [9], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [26]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Республика Саха (Якутия)"], "legendgroup": "y1", "z": [11], "marker": {"symbol": "circle", "color": "rgba(0, 154, 250, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [3], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [86]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Забайкальский край"], "legendgroup": "y1", "z": [25], "marker": {"symbol": "circle", "color": "rgba(0, 154, 250, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [9], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [66]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Камчатский край"], "legendgroup": "y1", "z": [78], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [5], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [16]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Приморский край"], "legendgroup": "y1", "z": [82], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [12], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [6]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Хабаровский край "], "legendgroup": "y1", "z": [91], "marker": {"symbol": "circle", "color": "rgba(148, 103, 189, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [4], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [5]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Амурская область"], "legendgroup": "y1", "z": [32], "marker": {"symbol": "circle", "color": "rgba(33, 171, 116, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [21], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [46]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Магаданская область"], "legendgroup": "y1", "z": [72], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [1], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [27]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Сахалинская область"], "legendgroup": "y1", "z": [10], "marker": {"symbol": "circle", "color": "rgba(0, 154, 250, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [2], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [88]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Еврейская автономная область"], "legendgroup": "y1", "z": [70], "marker": {"symbol": "circle", "color": "rgba(112, 112, 112, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [29], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [1]}, {"showlegend": false, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y1", "yaxis": "y", "zaxis": "z", "text": ["Чукотский автономный округ"], "legendgroup": "y1", "z": [81], "marker": {"symbol": "circle", "color": "rgba(215, 114, 85, 0.700)", "line": {"color": "rgba(0, 0, 0, 0.7)", "width": 0}, "size": 8}, "y": [1], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [18]}, {"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y2", "yaxis": "y", "zaxis": "z", "text": ["Центр кластера 1"], "legendgroup": "y2", "z": [74.04934583543053], "marker": {"symbol": "circle", "color": "rgba(0, 0, 0, 0.9)", "line": {"color": "rgba(0, 0, 0, 0.9)", "width": 0}, "size": 10}, "y": [5.2287259003319875], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [20.721928264237473]}, {"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y3", "yaxis": "y", "zaxis": "z", "text": ["Центр кластера 2"], "legendgroup": "y3", "z": [19.58004309603393], "marker": {"symbol": "circle", "color": "rgba(0, 0, 0, 0.9)", "line": {"color": "rgba(0, 0, 0, 0.9)", "width": 0}, "size": 10}, "y": [9.02945477613967], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [71.3905021278264]}, {"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y4", "yaxis": "y", "zaxis": "z", "text": ["Центр кластера 3"], "legendgroup": "y4", "z": [66.10896263004958], "marker": {"symbol": "circle", "color": "rgba(0, 0, 0, 0.9)", "line": {"color": "rgba(0, 0, 0, 0.9)", "width": 0}, "size": 10}, "y": [30.78014714497308], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [3.1108902249773474]}, {"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y5", "yaxis": "y", "zaxis": "z", "text": ["Центр кластера 4"], "legendgroup": "y5", "z": [49.50660168350875], "marker": {"symbol": "circle", "color": "rgba(0, 0, 0, 0.9)", "line": {"color": "rgba(0, 0, 0, 0.9)", "width": 0}, "size": 10}, "y": [7.9203633411604795], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [42.573034975330785]}, {"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y6", "yaxis": "y", "zaxis": "z", "text": ["Центр кластера 5"], "legendgroup": "y6", "z": [30.82197677470744], "marker": {"symbol": "circle", "color": "rgba(0, 0, 0, 0.9)", "line": {"color": "rgba(0, 0, 0, 0.9)", "width": 0}, "size": 10}, "y": [66.09617828206524], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [3.081844943227313]}, {"showlegend": true, "mode": "markers", "xaxis": "x", "colorbar": {"y": 0.5085470085470086, "title": {"text": ""}, "len": 0.9195100612423447, "x": 0.9960629921259843}, "name": "y7", "yaxis": "y", "zaxis": "z", "text": ["Центр кластера 6"], "legendgroup": "y7", "z": [89.05505947965499], "marker": {"symbol": "circle", "color": "rgba(0, 0, 0, 0.9)", "line": {"color": "rgba(0, 0, 0, 0.9)", "width": 0}, "size": 10}, "y": [8.80708768326089], "type": "scatter3d", "scene": "scene", "hoverinfo": "text", "x": [2.1378528370841474]}], "config": {"showlegend": false, "paper_bgcolor": "rgba(255, 255, 255, 1.000)", "annotations": [{"yanchor": "top", "xanchor": "center", "rotation": 0, "y": 1, "font": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 17}, "yref": "paper", "showarrow": false, "text": "Кластеризация регионов РФ по структуре производства (алгоритм kmeans). Число кластеров= 6", "xref": "paper", "x": 0.5172222222222221}], "height": 650, "margin": {"l": 0, "b": 20, "r": 0, "t": 20}, "plot_bgcolor": "rgba(255, 255, 255, 1.000)", "scene": {"camera": {"up": {"x": 0, "y": 0, "z": 1}, "center": {"x": 0, "y": 0, "z": 0}, "eye": {"x": 1.6541330663502287, "y": -0.9218952064010376, "z": 1.7815591562509445}, "projection": {"type": "perspective"}}, "xaxis": {"tickangle": 0, "showline": true, "gridcolor": "rgba(0, 0, 0, 0.4)", "showticklabels": true, "gridwidth": 0.7, "visible": true, "ticks": "inside", "range": [-2.6400000000000006, 90.64], "tickmode": "array", "tickvals": [0, 20, 40, 60, 80], "tickcolor": "rgb(0, 0, 0)", "ticktext": ["0", "20", "40", "60", "80"], "linecolor": "rgba(0, 0, 0, 1)", "showgrid": true, "zeroline": false, "type": "linear", "tickfont": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 11}, "title": {"text": "PI_N %", "font": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 17}}, "zerolinecolor": "rgba(0, 0, 0, 1)", "mirror": true}, "domain": {"y": [0.04879197792583629, 0.968302039168181], "x": [0.03838145231846019, 0.9960629921259843]}, "yaxis": {"tickangle": 0, "showline": true, "gridcolor": "rgba(0, 0, 0, 0.4)", "showticklabels": true, "gridwidth": 0.7, "visible": true, "ticks": "inside", "range": [-2.5500000000000043, 87.55000000000001], "tickmode": "array", "tickvals": [0, 20, 40, 60, 80], "tickcolor": "rgb(0, 0, 0)", "ticktext": ["0", "20", "40", "60", "80"], "linecolor": "rgba(0, 0, 0, 1)", "showgrid": true, "zeroline": false, "type": "linear", "tickfont": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 11}, "title": {"text": "Pcx_N %", "font": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 17}}, "zerolinecolor": "rgba(0, 0, 0, 1)", "mirror": true}, "zaxis": {"tickangle": 0, "showline": true, "gridcolor": "rgba(0, 0, 0, 0.4)", "showticklabels": true, "gridwidth": 0.7, "visible": true, "ticks": "inside", "range": [7.329999999999998, 101.67], "tickmode": "array", "tickvals": [20, 40, 60, 80, 100], "tickcolor": "rgb(0, 0, 0)", "ticktext": ["20", "40", "60", "80", "100"], "linecolor": "rgba(0, 0, 0, 1)", "showgrid": true, "zeroline": false, "type": "linear", "tickfont": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 11}, "title": {"text": "PP_N %", "font": {"color": "rgba(0, 0, 0, 1)", "family": "Computer Modern", "size": 17}}, "zerolinecolor": "rgba(0, 0, 0, 1)", "mirror": true}, "aspectratio": {"x": 1.007825796966899, "y": 0.9734680993430272, "z": 1.0192783628415227}, "aspectmode": "auto"}, "width": 886.984375}}
Группа видимости
ПубличноПросматривать контент могут все пользователи сообщества
Тип
Интерактивные скрипты
Краткое описание
Решение задачи кластеризации регионов РФ по типу экономики с выбором числа кластеров: пакет Clustering Julia, алгоритм kmeans
Связанные материалы
Пусто
Теги
Категории
Языки
Julia
Форматы
ngscript
Уровень
Базовый
Статус
Опубликовано
Обновлено
Источник
Сообщество