Skip to main content

A Canvas component for visualizing data on a map

Project description

CanvasDataMap

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 canvas_data_map

Usage

To learn how to use Canvas, see the 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

canvas_data_map-3.9.0.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canvas_data_map-3.9.0-py2.py3-none-any.whl (4.4 MB view details)

Uploaded Python 2Python 3

File details

Details for the file canvas_data_map-3.9.0.tar.gz.

File metadata

  • Download URL: canvas_data_map-3.9.0.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for canvas_data_map-3.9.0.tar.gz
Algorithm Hash digest
SHA256 b1190e039413a74a478c3467110f323844e70ad76af942ff868150ff4a63fb36
MD5 0daad07b624b6165a0a48eddf8df224d
BLAKE2b-256 33e3f297c18bd6e252a992af6de371dd3a7e1aa84f2a668dd20a972149e38dc1

See more details on using hashes here.

File details

Details for the file canvas_data_map-3.9.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for canvas_data_map-3.9.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 14f50bd8b8fbe8b4e5f0a9c1d6942f3d5d5661e9762022672db4ed1e6e1475a3
MD5 0f5fe1553432810d4b1854ef69cc8a9f
BLAKE2b-256 7a1bfcfc698333832c225a5a5135cece1ad680a3cd99cf83ee481949dd7e8862

See more details on using hashes here.

Supported by

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