knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
Scalable Vector Graphic (SVG) files can be created using the free, cross-platform program Inkscape or exported from Adobe Illustrator. This file format is a human-readable subset of xml. For example files see the info-demo/svg.
svg files must be placed in a directory named svg
in order to be found by infographiq.
Example
|svg |svg_id |module_title |status_text|status_color| |----------|----------------|-----------------------|---------------|----------------| |corals.svg|sea-turtle | Sea Turtle (focal) | | |
Example:
| svg_id |plot_title |y_label |col_t|col_y|filter|group_by|csv_url| |------------|--------------------|------------------|---------|---------|----------|------------|-----------| |sea-turtle | Sea Turtle Richness| Species Richness | year | richness| NA | NA | github.com/marinebon/info-fk/blob/master/plot_indicators.csv
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.