基于plotly数据可视化
简介(我们将创建的内容): (Introduction (what we’ll create):)
Unlike the previous tutorials in this map-based visualization series, we will be dealing with a very large dataset in this tutorial (about 2GB of lat, lon coordinates). We will learn how to use the Datashader library to convert this data into a pixel-density raster, which can be superimposed on a Mapbox base-map to create cool visualizations. The image below shows what you will create by the end of this tutorial.
与本基于地图的可视化系列文章中的先前教程不同,本教程将处理非常大的数据集(约2GB的经纬度坐标)。 我们将学习如何使用Datashader库将该数据转换为像素密度栅格,该栅格可以叠加在Mapbox底图上以创建出色的可视化效果。 下图显示了本教程结束时将创建的内容。
本教程的结构: (Structure of the tutorial:)
The tutorial is structured into the following sections:
本教程分为以下几节:
先决条件: (Pre-requisites:)
This tutorial assumes that you are familiar with python and that you have python downloaded and installed in your machine. If you are not familiar with python but have some experience of programming in some other languages, you may still be able to follow this tutorial, depending on your proficiency.
本教程假定您熟悉python,并且已在计算机中下载并安装了python。 如果您不熟悉python,但有一些使用其他语言进行编程的经验,那么您仍然可以根据自己的熟练程度来学习本教程。
It is very strongly recommended that you go through the Plotly tutorial before going through this tutorial. In this tutorial, the installation of plotly and the concepts covered in the Plotly tutorial will not be repeated.
强烈建议您先阅读Plotly教程,然后再进行本教程。 在本教程中,不会重复安装plotly和Plotly教程中涵盖的概念。
Also, you are strongly encouraged to go through the ‘About Mapbox’ section in the [Plotly + Mapbox] Interactive Choropleth visualization tutorial. We will not repeat that section here, but it is very much a part of this tutorial.
另外,强烈建议您阅读