Skip to main content

A Symphony component for visualizing data on a map

Project description

SymphonyDataMap

A rendered map where landmarks are colored by another variable. To configure the map, the spec of this component is defined as follows:

@dataclass
class DataMapSpec(WidgetSpec):
    projection: str
    id_map: dict
    feature: str
    id_column: str
    map_url: str

The projection is a vega-projection, the id_map maps names to multiple id in a TopoJSON, the feature defines what column to color by, the id_column defines where names are to be found, and the map_url provides a link to the appropriate TopoJSON.

Installation

pip install symphony_data_map

Usage

To learn how to use Symphony, see the documentation.

Development

To learn about how to build Symphony from source and how to contribute to the framework, please look at CONTRIBUTING.md and the development documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

symphony_data_map-1.0.2.tar.gz (6.0 MB view hashes)

Uploaded Source

Built Distribution

symphony_data_map-1.0.2-py2.py3-none-any.whl (10.8 MB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page