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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file symphony_data_map-1.0.2.tar.gz.

File metadata

  • Download URL: symphony_data_map-1.0.2.tar.gz
  • Upload date:
  • Size: 6.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for symphony_data_map-1.0.2.tar.gz
Algorithm Hash digest
SHA256 937d004ebacbdb10d4ca70449adcb89f5302e21ffe899fab897be86bbfd989b0
MD5 02b8539c40c970453d8de94fd8f0d38f
BLAKE2b-256 6d638a8b02b000c353ff80ee830459c9f90f01c2fdca4a0d8e5247f41e8b4496

See more details on using hashes here.

File details

Details for the file symphony_data_map-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for symphony_data_map-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 019a558e2ce8ca6d135b5dd4eed92152e3d8d57d450727b2c0a071dc7c2f587c
MD5 8a2edd54aa068745fafb5c738172067e
BLAKE2b-256 3853c7b8ad7565937a49ef02a8e6c0c1fda6613e2e6d24e60f799a583f482c22

See more details on using hashes here.

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