Latex Footnote in Figure Caption

To add a footnote in a figure caption:

1
2
3
4
5
6
7
\begin{figure}[!ht]
\centering
\includegraphics[width=3in]{images/radar2.png}
\caption{A radar chart\protect\footnotemark ~shows overview of the advantages and disadvantages of map-based dashboard and storytelling map. }
\label{fig:comparison2}
\end{figure}
\footnotetext{The style referred to: https://www.visualcinnamon.com/2015/10/different-look-d3-radar-chart.html}

Read More

Convert Two-dimensional Table to One-dimensional Table

The test data is 2D data:

Test data

To convert two-dimensional table to one-dimensional table in JavaScript:

Read More

Load External Geojson to Leaflet

Geojson benefits the geo-data visualzing. Here we introduce two methods of loading external geojson to Leaflet.

Read More

Install Geopandas

GeoPandas provides extension to pandas. It makes geo-data processing and geo-visualization much easier. geojson can be parsed and visualized easily.

Read More

Multiple Linear Regression in R

Math model

1
Y = a1*X1 + a2*X2 + a3*X3 + ... + an*Xn + b

Read More

Spatial polygon area calculation by another polygon layer

Topic description

I have two polygon layers in the same region: 1) data layer, the area of the polygons needs to be calculated, 2) reference layer, the polygons in this layer will be used as statistic units.

Read More

How to Draw Interactive Steamgraph in R

Streamgraph is a type of stacked area graph which is displaced around a central axis, resulting in a flowing, organic shape. Streamgraphs and their use were popularized by Lee Byron in a February 2008 New York Times article on movie box office revenues.

Read More

Extract Column from Tables

Problem description

I have some census data, which are 20 excel files for 20 year respectively (1980 - 1999). Each of the files contains county names and corresponding census data, e.g., GRDP, population, education.

Read More

Leaflet Overlay OnEachFeature

When you are displaying geojson with leaflet overlays, onEachFeature is a function will be applied on each feature, e.g. a point or a polygon in a features collection.

Read More

Control Leadlet Overlays

Adding several lays to leaflet and display the basic information of the layers on the map is very useful. Leaflet provaided lots handy APIs.

Read More