我试图在Jupyter Notebook中显示一个Plotly Choropleth (我是这个类型的初学者),但由于某种原因,它不能正确显示。我正在使用的csv文件可以在以下位置找到: https://www.kaggle.com/ajaypalsinghlo/world-happiness-report-2021 下面是通向choropleth的代码: # here we're assigning the hover data columns to use for ou
我正在使用R,并尝试使用GISTools创建一个choropleth地图。我的代码如下:plot(us_interstate, add = TRUE)
us_state是美国各州的地图,us_interstate是州际高速公路的地图。choropleth文档表明您可以指定Additional parameters to be passed on to the plot method
所以我使用这个站点来帮助我在python:上创建一个叶绿体地图,而第一步/代码块不能为我运行。Instead use the new Choropleth class, which has the same arguments.See the example notebook 'GeoJSON_and_choropleth' for how to do this.就像在第二行代码中,我不确定我应该在位置上放什么,而且在最后一行代码中,我放了'index.html‘,因为我确实有一个html文件,我最终