Description Usage Arguments Value
Converts a dataframe of codes, names, hexjson coordinates, and other data to
a hexjson string. The values in the first column are used as the key for
each hex in the hexjson and therefore must be unique. The values in columns
q
and r
are the hexjson coordinates for columns and rows
respectively. The values in any other columns are stored as properties of
each hex.
1 | convert_hexjson(data, layout = "odd-r")
|
data |
A dataframe of labels and data to store in each hex. |
layout |
The coordinate layout of the hexsjon. Must be one of: odd-r, even-r, odd-q, even-q. |
A hexjson string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.