from .chart import Chart class Chloropleth(Chart): def fill_json_template(self): """Filling json template with info from self.conf and data from retrieval_task""" return { "id": self.conf["id"], "type": self.conf["type"], "label": self.conf["label"], "options": self.conf["options"] if "options" in self.conf else {}, "data": self.map_module_result(), "region": "", "projection": "", } # """ ProjectionPreset = 'orthographic' | 'albers' | 'albersUsa' | 'mercator' | 'naturalEarth' | 'equalEarth' """