-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmap1.html
11 lines (9 loc) · 1.58 KB
/
map1.html
1
2
3
4
5
6
7
8
9
10
11
<!DOCTYPE html>
<html>
<head>
<script src='https://cdn.plot.ly/plotly-latest.min.js'></script>
</head>
<body>
<div id="1d543f57-a3cb-46a0-9b51-e85b4befc8a5" style="height: 100%; width: 100%;" class="plotly-graph-div"></div><script type="text/javascript">window.PLOTLYENV=window.PLOTLYENV || {};window.PLOTLYENV.BASE_URL="https://plot.ly";Plotly.newPlot("1d543f57-a3cb-46a0-9b51-e85b4befc8a5", [{"type": "choropleth", "locations": ["ARG", "BOL", "BRA"], "z": [1, 2, 3], "colorscale": "Viridis", "showscale": false, "name": "1960", "marker": {"line": {"color": "rgb(180,180,180)", "width": 0.5}}, "visible": true}, {"type": "choropleth", "locations": ["ARG", "BOL", "BRA"], "z": [2, 1, 3], "colorscale": "Viridis", "showscale": false, "name": "1961", "marker": {"line": {"color": "rgb(180,180,180)", "width": 0.5}}, "visible": false}, {"type": "choropleth", "locations": ["ARG", "BOL", "BRA"], "z": [3, 2, 1], "colorscale": "Viridis", "showscale": false, "name": "1962", "marker": {"line": {"color": "rgb(180,180,180)", "width": 0.5}}, "visible": false}], {"title": "Clustering of countries for every year", "sliders": [{"active": 0, "currentvalue": {"prefix": "Year: "}, "pad": {"t": 50}, "steps": [{"method": "restyle", "args": ["visible", [true, false, false]], "label": "1960"}, {"method": "restyle", "args": ["visible", [false, true, false]], "label": "1961"}, {"method": "restyle", "args": ["visible", [false, false, true]], "label": "1962"}]}]}, {"fillFrame": true, "showLink": false, "linkText": "Export to plot.ly", "modeBarButtonsToRemove": ["sendDataToCloud"], "displaylogo": false})</script>
</body>
</html>