Template:Interactive COVID-19 maps/common/doc

This template serves as a meta-template for the construction of interactive maps. While designed for use with COVID-19 related data, it should be sufficiently general for most purposes as long as the data are in the correct format. Editors interested in using or maintaining this meta-template should read the interactive graph tutorial which this template is based off-of.

Examples
See Template:Interactive COVID-19 maps for a list of maps which are made using this template.

TemplateData
{	"params": { "id": { "label": "HTML identifier", "description": "Unique string to identify this graph", "example": "covid-map", "type": "string", "default": "covid-map", "suggested": true },		"scale": { "label": "Scaling coefficient", "description": "A percentage value (as a decimal) to resize the map", "example": "1.2", "type": "number", "default": "0.8", "autovalue": "", "suggested": true },		"width": { "label": "Width", "description": "Default width", "type": "number", "default": "625", "deprecated": "Use scale" },		"height": { "label": "Height", "description": "Default height", "type": "number", "default": "325", "autovalue": "", "deprecated": "Use scale" },		"padding": { "label": "Padding", "default": "12" },		"data-coloring": { "label": "Country fill data", "description": "Dataset used to set the fill color for countries", "example": "Template:Interactive COVID-19 maps/data/Deaths by country-csv", "type": "wiki-page-name", "required": true },		"data-dates": { "label": "By-date totals", "description": "Global totals by date", "example": "Template:Interactive COVID-19 maps/data/Cumulative deaths by date-csv", "type": "wiki-page-name", "required": true },		"color-ramp-type": { "label": "Color ramp type", "type": "string", "default": "log" },		"domain-min": { "label": "Minimum value" },		"domain-magnitude": { "label": "Maximum order of magnitude", "description": "The order of magnitude for the scale maximum", "example": "4", "type": "number", "required": true },		"legend-title": { "label": "Legend title", "description": "Title for the legend", "example": "COVID-19 deaths", "type": "string", "suggested": true },		"title": { "label": "Title", "description": "Title for the graph", "type": "string", "suggested": true }	},	"description": "A meta-template for creating interactive data visualizations using maps", "paramOrder": [ "title", "data-coloring", "domain-min", "domain-magnitude", "data-dates", "legend-title", "scale", "id", "width", "height", "padding", "color-ramp-type" ],	"format": "block" }